Commit 3d9e07e
Changed files (1)
src/content.config.ts
@@ -26,7 +26,7 @@ const typCollection = (base: string) => (defineCollection({
schema: z.object({
title: z.string(),
slug: z.string().optional(),
- author: z.string().optional(),
+ author: z.string().default(SITE_CONFIG.author),
desc: z.any().optional(),
date: z.string().transform((str) => {
const match = str.match(