13 lines
220 B
TypeScript
13 lines
220 B
TypeScript
import { z, defineCollection } from 'astro:content';
|
|
|
|
const blogCollection = defineCollection({
|
|
type: 'content',
|
|
schema: z.object({
|
|
title: z.string(),
|
|
}),
|
|
});
|
|
|
|
export const collections = {
|
|
blog: blogCollection,
|
|
};
|