1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-07-31 22:40:19 +02: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> <lastmod>2022-09-08T14:46:59.862Z</lastmod>
<priority>1.0</priority> <priority>1.0</priority>
</url> </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> <url>
<loc>https://roadmap.sh/roadmaps</loc> <loc>https://roadmap.sh/roadmaps</loc>
<changefreq>monthly</changefreq> <changefreq>monthly</changefreq>

View File

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