feat: add front-matter variable category

This commit is contained in:
saicaca committed 2023-11-07 14:46:29 +08:00
1 parent 2b000f7e55
commit b171ad463e
10 files changed
+22 -8

No files matched your search

+1
View File
@@ -7,6 +7,7 @@ const blogCollection = defineCollection({
description: z.string().optional(),
image: z.string().optional(),
tags: z.array(z.string()).optional(),
category: z.string().optional(),
})
})
export const collections = {