aboutsummaryrefslogtreecommitdiff
path: root/src/content/config.ts
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-10-03 02:04:27 +0300
committerValentin Popov <valentin@popov.link>2024-10-03 02:04:27 +0300
commit2b5302587645dcab7c012c550989b7a8e9bee72b (patch)
treed0de8fc07cb6d0ec1c81657dcc9f0880a97c4d8b /src/content/config.ts
parentd4eab1ff131c9342213f2dcc9b3c6383c7de41dd (diff)
downloadpopov.link-2b5302587645dcab7c012c550989b7a8e9bee72b.tar.xz
popov.link-2b5302587645dcab7c012c550989b7a8e9bee72b.zip
Update blog post metadata and styles
Diffstat (limited to 'src/content/config.ts')
-rw-r--r--src/content/config.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/content/config.ts b/src/content/config.ts
index 00f60c9..245f20e 100644
--- a/src/content/config.ts
+++ b/src/content/config.ts
@@ -5,6 +5,7 @@ const blog = defineCollection({
schema: z.object({
author: z.string(),
description: z.string(),
+ draft: z.optional(z.boolean()),
pubDate: z.coerce.date(),
title: z.string(),
}),