Skip to content

Commit 56a8353

Browse files
Merge pull request #2764 from OctopusDeploy/sf/sitemap-update
Sitemap update
2 parents 76145f5 + 1055f6c commit 56a8353

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)