From b08bfdc779a994282551605aabbcaa4c8e6c09f3 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Shelton" Date: Thu, 3 Dec 2026 20:22:10 -0700 Subject: [PATCH] Expand schema. --- src/content.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/content.config.ts b/src/content.config.ts index 1ff12c5..cec14d2 100644 --- a/src/content.config.ts +++ b/src/content.config.ts @@ -6,9 +6,11 @@ const notes = defineCollection({ loader: glob({base: './src/notes', pattern: '**/*.{md,mdx}'}), schema: z.object({ title: z.string(), + subtitle: z.string().optional(), date: z.string().transform((s) => { return new Date(`${s}T00:00:00-0700`); }), + scripture: z.string().optional(), meta_description: z.string().optional(), sub_heading: z.string().optional(), scripture_category: z.string().default('gospels'),