Add Coffee Notes collection and page
This commit is contained in:
+10
-1
@@ -17,4 +17,13 @@ const blog = defineCollection({
|
||||
}),
|
||||
});
|
||||
|
||||
export const collections = { blog };
|
||||
const coffee = defineCollection({
|
||||
type: "content",
|
||||
schema: z.object({
|
||||
title: z.string().optional(),
|
||||
date: z.coerce.date(),
|
||||
draft: z.boolean().optional().default(false),
|
||||
}),
|
||||
});
|
||||
|
||||
export const collections = { blog, coffee };
|
||||
|
||||
Reference in New Issue
Block a user