begin content config
This commit is contained in:
@@ -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,
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user