Skip to content

Commit 74b23ee

Browse files
authored
update
1 parent cd82e17 commit 74b23ee

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

src/content.config.ts

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,6 @@ const pagesCollection = defineCollection({
5454
}),
5555
});
5656

57-
// about collection schema
58-
const aboutCollection = defineCollection({
59-
loader: glob({ pattern: "**/*.{md,mdx}", base: "src/content/about" }),
60-
schema: z.object({
61-
...commonFields,
62-
}),
63-
});
64-
6557
// contact collection schema
6658
const contactCollection = defineCollection({
6759
loader: glob({ pattern: "**/*.{md,mdx}", base: "src/content/contact" }),
@@ -143,12 +135,8 @@ const testimonialSectionCollection = defineCollection({
143135
// Export collections
144136
export const collections = {
145137
// Pages
146-
homepage: homepageCollection,
147-
blog: blogCollection,
138+
apps: appsCollection,
148139
authors: authorsCollection,
149-
pages: pagesCollection,
150-
about: aboutCollection,
151-
contact: contactCollection,
152140

153141
// sections
154142
ctaSection: ctaSectionCollection,

0 commit comments

Comments
 (0)