🔍 Improve sitemap

This commit is contained in:
2024-08-17 10:32:24 +08:00
parent 21a02689dd
commit 48690b1b88
2 changed files with 8 additions and 1 deletions

View File

@ -7,7 +7,7 @@ export default defineSitemapEventHandler(async () => {
return result.data.map((item: any) => asSitemapUrl({
loc: `/posts/${item.id}`,
lastmod: item.edited_at ?? item.published_at,
priority: 0.9,
priority: 0.7,
_sitemap: "posts",
}));
})