This commit is contained in:
@@ -18,5 +18,16 @@ export default defineContentConfig({
|
||||
type: 'page',
|
||||
source: 'fixed/**/**.md'
|
||||
}),
|
||||
|
||||
art: defineCollection({
|
||||
type: 'page',
|
||||
source: 'art/**/**.md',
|
||||
schema: z.object({
|
||||
title: z.string(),
|
||||
slug: z.string(),
|
||||
thumb: z.string(),
|
||||
date: z.string()
|
||||
})
|
||||
}),
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user