Skip to content

Commit

Permalink
Fix tags in config
Browse files Browse the repository at this point in the history
  • Loading branch information
miladvafaeifard committed Jul 25, 2024
1 parent 43af3eb commit 3a3de40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ const blogCollection = defineCollection({
speaker: z.string().optional(),
pubDate: z.coerce.date(),
updatedDate: z.coerce.date().optional(),
thumbnail: z.string(),
thumbnail: z.string().optional(),
alt: z.string().optional(),
tags: z.array(z.string()).optional(),
tags: z.array(z.string()).optional().default([]),
})
});

Expand Down

0 comments on commit 3a3de40

Please sign in to comment.