From f90592d8a106bea418cbd3d8bce9c2d86029f93c Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 9 Apr 2026 08:47:37 +0000 Subject: feat: migrated to Astro 6 --- src/utils/schemas/blogSchema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/schemas') 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 ({ "@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, })), }, -- cgit v1.2.3