diff options
| author | Kyren223 <contact@kyren.codes> | 2026-10-06 20:46:31 +0300 |
|---|---|---|
| committer | Kyren223 <contact@kyren.codes> | 2026-10-06 20:46:31 +0300 |
| commit | ba1be9573ef20d6424ae987257a1c727c47d4b53 (patch) | |
| tree | e59ef56f19142215070d0516a9b3a110d15557b6 /old_stuff/src/content/config.ts | |
| parent | ea056b6e080669ba4b6f16c2757b4e2e88ea0553 (diff) | |
Initial setup for website rewrite
Diffstat (limited to 'old_stuff/src/content/config.ts')
| -rw-r--r-- | old_stuff/src/content/config.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/old_stuff/src/content/config.ts b/old_stuff/src/content/config.ts new file mode 100644 index 0000000..17aeedb --- /dev/null +++ b/old_stuff/src/content/config.ts @@ -0,0 +1,12 @@ +import { defineCollection, z } from "astro:content"; + +export const collections = { + blogs: defineCollection({ + type: "content", + schema: z.object({ + title: z.string(), + description: z.string().optional(), + date: z.date(), + }), + }), +}; |
