diff options
Diffstat (limited to 'src/content/config.ts')
-rw-r--r-- | src/content/config.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/content/config.ts b/src/content/config.ts index 3467bda..d7f5f86 100644 --- a/src/content/config.ts +++ b/src/content/config.ts @@ -4,11 +4,12 @@ const blog = defineCollection({ type: "content", schema: z.object({ author: z.string(), + dateModified: z.coerce.date(), + datePublished: z.coerce.date(), description: z.string(), draft: z.optional(z.boolean()), - pubDate: z.coerce.date(), - title: z.string(), lang: z.string(), + title: z.string(), }), }); |