aboutsummaryrefslogtreecommitdiff
path: root/src/utils/schemas
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-04-09 11:47:37 +0300
committerValentin Popov <valentin@popov.link>2026-04-09 11:47:37 +0300
commitf90592d8a106bea418cbd3d8bce9c2d86029f93c (patch)
treeb5e4bc36e8b318641d34fd299911babf87b7e5d1 /src/utils/schemas
parent12aa763b05e0d5d903e77022afafc6d4bfccad9e (diff)
downloadpopov.link-f90592d8a106bea418cbd3d8bce9c2d86029f93c.tar.xz
popov.link-f90592d8a106bea418cbd3d8bce9c2d86029f93c.zip
feat: migrated to Astro 6
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,
})),
},