We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 738e01f commit 318fb35Copy full SHA for 318fb35
src/content.config.ts
@@ -7,7 +7,7 @@ const blog = defineCollection({
7
// Type-check frontmatter using a schema
8
schema: z.object({
9
title: z.string(),
10
- description: z.string(),
+ description: z.string().optional(),
11
// Transform string to Date object
12
pubDate: z.coerce.date(),
13
updatedDate: z.coerce.date().optional(),
0 commit comments