diff options
Diffstat (limited to 'src/content/config.ts')
-rw-r--r-- | src/content/config.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/config.ts b/src/content/config.ts index 916e412..984181c 100644 --- a/src/content/config.ts +++ b/src/content/config.ts @@ -3,13 +3,13 @@ import { defineCollection, z } from "astro:content"; const blog = defineCollection({ type: "content", schema: z.object({ - author: z.string(), basedOn: z.optional(z.string()), dateModified: z.coerce.date(), datePublished: z.coerce.date(), description: z.string(), draft: z.optional(z.boolean()), lang: z.string(), + preview: z.optional(z.string()), title: z.string(), }), }); |