Change sitemap priority for hidden pages
This commit is contained in:
@ -117,7 +117,7 @@ function generateSiteMap() {
|
|||||||
basePath: STORAGE_PATH,
|
basePath: STORAGE_PATH,
|
||||||
fileName: menuPage.path,
|
fileName: menuPage.path,
|
||||||
slug: menuPage.url,
|
slug: menuPage.url,
|
||||||
priority: '1.0',
|
priority: menuPage.path.includes('_others') ? '0.5' : '1.0',
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<loc>https://roadmap.sh/frontend/contributors</loc>
|
<loc>https://roadmap.sh/frontend/contributors</loc>
|
||||||
<changefreq>monthly</changefreq>
|
<changefreq>monthly</changefreq>
|
||||||
<lastmod>2019-12-01T11:38:19.737Z</lastmod>
|
<lastmod>2019-12-01T11:38:19.737Z</lastmod>
|
||||||
<priority>1.0</priority>
|
<priority>0.5</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://roadmap.sh/frontend/summary</loc>
|
<loc>https://roadmap.sh/frontend/summary</loc>
|
||||||
|
Reference in New Issue
Block a user