feat: migrated to Astro 6
All checks were successful
Test / npm test (push) Successful in 54s
Test / npm test (pull_request) Successful in 46s

This commit is contained in:
2026-04-09 08:47:37 +00:00
parent 12aa763b05
commit f90592d8a1
7 changed files with 17 additions and 16 deletions

View File

@@ -19,7 +19,7 @@ export default ({ siteUrl, title, posts }: BlogSchemaParams): WithContext<Collec
"itemListElement": posts.map((post, index) => ({
"@type": "ListItem",
"position": index + 1,
"url": new URL(`/blog/${post.slug}`, siteUrl).toString(),
"url": new URL(`/blog/${post.id}`, siteUrl).toString(),
"name": post.data.title,
})),
},