Skip to content

Commit 1055f6c

Browse files
Sitemap update
1 parent 76145f5 commit 1055f6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/docs/sitemap.xml.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ async function getData() {
2525
pages.push(`
2626
<url>
2727
<loc>${SITE.url + url}</loc>
28-
<lastmod>${article.frontmatter.pubDate}</lastmod>
28+
<lastmod>${article.frontmatter.modDate ?? article.frontmatter.pubDate}</lastmod>
2929
</url>`);
3030
}
3131
}

0 commit comments

Comments
 (0)