🔍 Improve SEO and RSS feed!
This commit is contained in:
@ -6,6 +6,8 @@ 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,
|
||||
_sitemap: "posts",
|
||||
}));
|
||||
})
|
||||
|
Reference in New Issue
Block a user