begin content config

This commit is contained in:
Avraham Sakal
2024-11-24 09:42:51 -05:00
parent 2d4e1fb375
commit c08fdbf7fd
+11
View File
@@ -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,
};