mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-26 10:34:40 +02:00
Remove upcoming page from sitemap
This commit is contained in:
@@ -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