merge in new changes
This commit is contained in:
12
src/content/config.ts
Normal file
12
src/content/config.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { defineCollection, z } from 'astro:content';
|
||||
|
||||
const categoryCollection = defineCollection({
|
||||
type: 'content',
|
||||
schema: () =>
|
||||
z.object({
|
||||
title: z.string(),
|
||||
description: z.string(),
|
||||
}),
|
||||
});
|
||||
|
||||
export const collections = { categories: categoryCollection };
|
||||
Reference in New Issue
Block a user