Change sitemap priority for hidden pages

This commit is contained in:
Kamran Ahmed
2019-12-01 16:17:29 +04:00
parent a06eaec5d4
commit 3364eae0a6
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ function generateSiteMap() {
basePath: STORAGE_PATH,
fileName: menuPage.path,
slug: menuPage.url,
priority: '1.0',
priority: menuPage.path.includes('_others') ? '0.5' : '1.0',
})
})
];

View File

@ -10,7 +10,7 @@
<loc>https://roadmap.sh/frontend/contributors</loc>
<changefreq>monthly</changefreq>
<lastmod>2019-12-01T11:38:19.737Z</lastmod>
<priority>1.0</priority>
<priority>0.5</priority>
</url>
<url>
<loc>https://roadmap.sh/frontend/summary</loc>