Skip to content

Commit 2996fa9

Browse files
committed
Add to global content config
1 parent 7fc0e8e commit 2996fa9

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/content/banner/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { z, defineCollection } from "astro:content";
22

3-
export const textDetailCollection = defineCollection({
3+
export const bannerCollection = defineCollection({
44
type: "content",
55
schema: () =>
66
z.object({

src/content/config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { examplesCollection } from "./examples/config";
88
import { contributorDocsCollection } from "./contributor-docs/config";
99
import { homepageCollection } from "./homepage/config";
1010
import { 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
};

0 commit comments

Comments
 (0)