aboutsummaryrefslogtreecommitdiff
path: root/src/content/config.ts
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2025-06-14 15:12:16 +0300
committerValentin Popov <valentin@popov.link>2025-06-14 15:12:16 +0300
commit25ebd94466edcf87c675a12e3cf80b0ce572ab76 (patch)
tree488d860bbc2ee070b06ad9676d2c0ae77862d1b9 /src/content/config.ts
parent0473060773a7acb10a6f11e5e22ec13ddf5650ba (diff)
downloadpopov.link-25ebd94466edcf87c675a12e3cf80b0ce572ab76.tar.xz
popov.link-25ebd94466edcf87c675a12e3cf80b0ce572ab76.zip
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.
Diffstat (limited to 'src/content/config.ts')
-rw-r--r--src/content/config.ts1
1 files changed, 0 insertions, 1 deletions
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(),
}),
});