summaryrefslogtreecommitdiff
path: root/src/content.config.ts
diff options
context:
space:
mode:
authorDawid Rycerz <dawid@rycerz.xyz>2026-01-12 20:50:47 +0100
committerDawid Rycerz <dawid@rycerz.xyz>2026-01-12 20:51:33 +0100
commit686ccbfd2ed51723f4df79ba0b976e0f5fafce2f (patch)
tree291ebb0d97b6dfb18f1f0bc86418326e0f40edd5 /src/content.config.ts
parent4171c2204fb43f5d7483b8e42432519b69bdef1f (diff)
Fix pages languages
Diffstat (limited to 'src/content.config.ts')
-rw-r--r--src/content.config.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/content.config.ts b/src/content.config.ts
index 5e15713..bee2f8c 100644
--- a/src/content.config.ts
+++ b/src/content.config.ts
@@ -48,6 +48,7 @@ const micro = defineCollection({
description: z.string().optional(),
publishDate: z.date().or(z.string().transform((val) => new Date(val))),
sourceUrl: z.string().optional(),
+ language: z.string().optional(),
author: z
.object({
username: z.string(),