From 77b0f69d0c6e555349dd491d7ca209924d119e61 Mon Sep 17 00:00:00 2001 From: Matt Kosarek Date: Wed, 11 Mar 2026 17:49:05 -0400 Subject: Migrate to astro --- src/content/config.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/content/config.ts (limited to 'src/content/config.ts') diff --git a/src/content/config.ts b/src/content/config.ts new file mode 100644 index 0000000..d8c4bec --- /dev/null +++ b/src/content/config.ts @@ -0,0 +1,12 @@ +import { defineCollection, z } from 'astro:content'; + +const posts = defineCollection({ + type: 'content', + schema: z.object({ + title: z.string(), + date: z.string(), + tags: z.array(z.string()), + }), +}); + +export const collections = { posts }; -- cgit v1.2.1