mirror of
https://github.com/Ad-closeNN/blog-fuwari.git
synced 2026-05-31 02:20:05 -04:00
fear: 优化站点配置
1. Nav 增加状态 2. 新增一个图标库 3. 优化文档描述
This commit is contained in:
@@ -19,8 +19,14 @@ const postsCollection = defineCollection({
|
||||
nextSlug: z.string().default(""),
|
||||
}),
|
||||
});
|
||||
/* https://github.com/afoim/fuwari/commit/8b651d5d4e666c520d8fc95e89bf9d0ecf307644#diff-544dcd1cb4d05890db2dcf497052df475216a57683c346216e43133407b7ea58 */
|
||||
const specCollection = defineCollection({
|
||||
schema: z.object({}),
|
||||
schema: z.object({
|
||||
title: z.string().optional(),
|
||||
published: z.date().optional(),
|
||||
updated: z.date().optional(),
|
||||
draft: z.boolean().optional().default(false),
|
||||
}),
|
||||
});
|
||||
export const collections = {
|
||||
posts: postsCollection,
|
||||
|
||||
Reference in New Issue
Block a user