From ba1be9573ef20d6424ae987257a1c727c47d4b53 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Tue, 6 Oct 2026 20:46:31 +0300 Subject: Initial setup for website rewrite --- old_stuff/src/content/config.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 old_stuff/src/content/config.ts (limited to 'old_stuff/src/content/config.ts') 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(), + }), + }), +}; -- cgit v1.3.1