Change sitemap priority for hidden pages

pull/1657/head
Kamran Ahmed 5 years ago
parent 3f9e60447f
commit 0970485ff0
  1. 2
      scripts/sitemap.js
  2. 2
      static/sitemap.xml

@ -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',
})
})
];

@ -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>

Loading…
Cancel
Save