diff --git a/config.ts b/config.ts index 3ffabf9..c2ce508 100644 --- a/config.ts +++ b/config.ts @@ -22,6 +22,18 @@ const games = defineCollection({ }), }); +const blog = defineCollection({ + type: 'content', + schema: z.object({ + title: z.string(), + draft: z.boolean().optional(), + tags: z.array(z.string()).optional(), + published_at: z.coerce.date().optional(), + updated_at: z.coerce.date().optional(), + }), +}); + export const collections = { games, + blog, };