Something went wrong. Try again.
Something went wrong. Try again.
12345678910111213import { defineCollection, z } from 'astro:content';import { glob } from 'astro/loaders';
const blog = defineCollection({ loader: glob({ pattern: '**/*.md', base: './src/content/blog' }), schema: z.object({ title: z.string(), date: z.coerce.date(), }),});
export const collections = { blog };