File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { z , defineCollection } from "astro:content" ;
22
3- export const textDetailCollection = defineCollection ( {
3+ export const bannerCollection = defineCollection ( {
44 type : "content" ,
55 schema : ( ) =>
66 z . object ( {
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import { examplesCollection } from "./examples/config";
88import { contributorDocsCollection } from "./contributor-docs/config" ;
99import { homepageCollection } from "./homepage/config" ;
1010import { pagesCollection } from "./pages/config" ;
11+ import { bannerCollection } from "./banner/config" ;
1112
1213/**
1314 * All content collections defined in subfolders of /src/content/
@@ -26,4 +27,5 @@ export const collections = {
2627 "contributor-docs" : contributorDocsCollection ,
2728 homepage : homepageCollection ,
2829 pages : pagesCollection ,
30+ banner : bannerCollection ,
2931} ;
You can’t perform that action at this time.
0 commit comments