Remove PDFs page from sitemap
This commit is contained in:
1 parent
efc9b6d650
commit
4142c2afc0
2 files changed
+2
-7
No files matched your search
+1
-6
@@ -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>
|
||||
|
||||
+1
-1
@@ -75,7 +75,7 @@ function generateNode(nodeProps) {
|
||||
frequency = 'monthly',
|
||||
} = nodeProps;
|
||||
|
||||
if (slug.includes('upcoming')) {
|
||||
if (slug.includes('upcoming') || slug.includes('pdfs')) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user