diff --git a/src/content/_schemas.ts b/src/content/_schemas.ts index 9ee5319..b1c4d05 100644 --- a/src/content/_schemas.ts +++ b/src/content/_schemas.ts @@ -7,7 +7,7 @@ export const blogSchema = z.object({ postSlug: z.string().optional(), featured: z.boolean().optional(), draft: z.boolean().optional(), - tags: z.array(z.string()), + tags: z.array(z.string()).default(["others"]), ogImage: z.string().optional(), description: z.string(), });