diff options
author | Valentin Popov <valentin@popov.link> | 2025-06-14 15:12:16 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2025-06-14 15:12:16 +0300 |
commit | 25ebd94466edcf87c675a12e3cf80b0ce572ab76 (patch) | |
tree | 488d860bbc2ee070b06ad9676d2c0ae77862d1b9 /src/content | |
parent | 0473060773a7acb10a6f11e5e22ec13ddf5650ba (diff) | |
download | popov.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')
-rw-r--r-- | src/content/config.ts | 1 |
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(), }), }); |