Expand schema.

This commit is contained in:
Benjamin A. Shelton 2026-12-03 20:22:10 -07:00
commit b08bfdc779
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01

View file

@ -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'),