From 25ebd94466edcf87c675a12e3cf80b0ce572ab76 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sat, 14 Jun 2025 12:12:16 +0000 Subject: refactor: remove preview property from blog post schema and configuration - Eliminated the optional `preview` field from the blog post schema and configuration to streamline data handling. - Updated the blog post schema to utilize the default image directly from configuration, enhancing consistency in image representation. --- src/content/config.ts | 1 - 1 file changed, 1 deletion(-) (limited to 'src/content') diff --git a/src/content/config.ts b/src/content/config.ts index 984181c..4277edc 100644 --- a/src/content/config.ts +++ b/src/content/config.ts @@ -9,7 +9,6 @@ const blog = defineCollection({ description: z.string(), draft: z.optional(z.boolean()), lang: z.string(), - preview: z.optional(z.string()), title: z.string(), }), }); -- cgit v1.2.3