Skip to content

Commit a6ab87e

Browse files
committed
fix: about schema optional title
1 parent ba361dd commit a6ab87e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const events = defineCollection({
4343
const about = defineCollection({
4444
type: 'content',
4545
schema: z.object({
46-
title: z.string(),
46+
title: z.string().optional(),
4747
summary: z.string().optional(),
4848
logo: z.string().optional(),
4949
layout: z.string().optional(),

0 commit comments

Comments
 (0)