aboutsummaryrefslogtreecommitdiff
path: root/src/utils/schemas
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-04-09 11:52:31 +0300
committerValentin Popov <valentin@popov.link>2026-04-09 11:52:31 +0300
commit994fb09d050b70204f327874a474e97d342ce006 (patch)
tree7ba5e46aaf9cd28fe551bcedd0a528fb19899281 /src/utils/schemas
parent7dd43ae74ecb9fe443d5102e290e39612aa7e9ec (diff)
parentf90592d8a106bea418cbd3d8bce9c2d86029f93c (diff)
downloadpopov.link-994fb09d050b70204f327874a474e97d342ce006.tar.xz
popov.link-994fb09d050b70204f327874a474e97d342ce006.zip
Merge pull request 'fix(deps): update dependency astro to v6' (!21) from renovate/major-astro-monorepo into master
Reviewed-on: https://code.popov.link/valentineus/popov.link/pulls/21
Diffstat (limited to 'src/utils/schemas')
-rw-r--r--src/utils/schemas/blogSchema.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/schemas/blogSchema.ts b/src/utils/schemas/blogSchema.ts
index 77f4632..196f037 100644
--- a/src/utils/schemas/blogSchema.ts
+++ b/src/utils/schemas/blogSchema.ts
@@ -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,
})),
},