From a28204c908c3d9acb8a7faaad3a264091fbc364c Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Fri, 20 Jan 2023 16:47:58 +0400 Subject: [PATCH] Remove lastmod from sitemap --- sitemap.mjs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/sitemap.mjs b/sitemap.mjs index 7aea79c5e..d5c678ca3 100644 --- a/sitemap.mjs +++ b/sitemap.mjs @@ -32,22 +32,17 @@ export async function serializeSitemap(item) { // @ts-ignore changefreq: 'monthly', priority: 1, - lastmod: new Date().toISOString(), }; } } // Guide and video pages - if ( - item.url.startsWith('https://roadmap.sh/guides/') || - item.url.startsWith('https://roadmap.sh/videos/') - ) { + if (item.url.startsWith('https://roadmap.sh/guides/') || item.url.startsWith('https://roadmap.sh/videos/')) { return { ...item, // @ts-ignore changefreq: 'monthly', priority: 0.9, - lastmod: new Date().toISOString(), }; }