organize
This commit is contained in:
parent
024226ef53
commit
81fca03582
5 changed files with 38 additions and 4 deletions
|
|
@ -21,8 +21,17 @@ const gistsCollection = defineCollection({
|
|||
}),
|
||||
});
|
||||
|
||||
const gitsCollection = defineCollection({
|
||||
type: "content",
|
||||
schema: z.object({
|
||||
title: z.string(),
|
||||
date: z.string().optional(),
|
||||
}),
|
||||
});
|
||||
|
||||
export const collections = {
|
||||
posts: postsCollection,
|
||||
gists: gistsCollection,
|
||||
gits: gitsCollection,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue