mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-27 02:54:27 +02:00
Remove upcoming page from sitemap
This commit is contained in:
@@ -300,12 +300,7 @@
|
||||
<lastmod>2022-08-04T14:33:07.901Z</lastmod>
|
||||
<priority>0.5</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://roadmap.sh/upcoming</loc>
|
||||
<changefreq>monthly</changefreq>
|
||||
<lastmod>2022-09-08T13:34:10.428Z</lastmod>
|
||||
<priority>0.5</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://roadmap.sh/watch</loc>
|
||||
<changefreq>monthly</changefreq>
|
||||
|
@@ -75,6 +75,10 @@ function generateNode(nodeProps) {
|
||||
frequency = 'monthly',
|
||||
} = nodeProps;
|
||||
|
||||
if (slug.includes('upcoming')) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const pagePath = path.join(basePath, fileName);
|
||||
let pageStats = {};
|
||||
try {
|
||||
|
Reference in New Issue
Block a user