fix: front-matter prop change

This commit is contained in:
saicaca committed 2023-10-21 10:52:01 +08:00
1 parent b9489a51b3
commit 9b68fd1b86
10 files changed
+18 -31

No files matched your search

+1 -4
View File
@@ -5,10 +5,7 @@ const blogCollection = defineCollection({
title: z.string(),
published: z.date(),
description: z.string().optional(),
cover: z.object({
url: z.string(),
alt: z.string(),
}),
image: z.string().optional(),
tags: z.array(z.string()).optional(),
})
})