1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-01-29 12:18:23 +01:00

Remove PDFs page from sitemap

This commit is contained in:
Kamran Ahmed 2022-09-08 20:32:20 +04:00
parent efc9b6d650
commit 4142c2afc0
2 changed files with 2 additions and 7 deletions

View File

@ -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>

View File

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