diff --git a/src/content/config.ts b/src/content/config.ts new file mode 100644 index 0000000..238d31a --- /dev/null +++ b/src/content/config.ts @@ -0,0 +1,11 @@ +// 1. Import utilities from `astro:content` +import { defineCollection } from "astro:content"; +// 2. Define your collection(s) +const blogCollection = defineCollection({ + /* ... */ +}); +// 3. Export a single `collections` object to register your collection(s) +// This key should match your collection directory name in "src/content" +export const collections = { + blog: blogCollection, +};