mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-03-21 17:24:28 -05:00
18 lines
365 B
TypeScript
18 lines
365 B
TypeScript
import { defineContentConfig, defineCollection, z } from '@nuxt/content';
|
|
|
|
export default defineContentConfig({
|
|
collections: {
|
|
blog: defineCollection({
|
|
type: 'page',
|
|
source: 'blog/*.md',
|
|
schema: z.object({
|
|
author: z.string(),
|
|
author_image: z.string(),
|
|
date: z.string(),
|
|
caption: z.string(),
|
|
cover_image: z.string()
|
|
})
|
|
})
|
|
}
|
|
});
|