Remove PDFs page from sitemap

pull/1719/head
Kamran Ahmed 2 years ago
parent efc9b6d650
commit 4142c2afc0
  1. 7
      public/sitemap.xml
  2. 2
      scripts/sitemap.js

@ -276,12 +276,7 @@
<lastmod>2022-09-08T14:46:59.862Z</lastmod>
<priority>1.0</priority>
</url>
<url>
<loc>https://roadmap.sh/pdfs</loc>
<changefreq>monthly</changefreq>
<lastmod>2022-09-01T18:28:41.149Z</lastmod>
<priority>0.5</priority>
</url>
<url>
<loc>https://roadmap.sh/roadmaps</loc>
<changefreq>monthly</changefreq>

@ -75,7 +75,7 @@ function generateNode(nodeProps) {
frequency = 'monthly',
} = nodeProps;
if (slug.includes('upcoming')) {
if (slug.includes('upcoming') || slug.includes('pdfs')) {
return null;
}

Loading…
Cancel
Save