aboutsummaryrefslogtreecommitdiff
path: root/src/content
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
parentd4eab1ff131c9342213f2dcc9b3c6383c7de41dd (diff)
downloadpopov.link-2b5302587645dcab7c012c550989b7a8e9bee72b.tar.xz
popov.link-2b5302587645dcab7c012c550989b7a8e9bee72b.zip
Update blog post metadata and styles
Diffstat (limited to 'src/content')
-rw-r--r--src/content/blog/example-content.md1
-rw-r--r--src/content/config.ts1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/content/blog/example-content.md b/src/content/blog/example-content.md
index 68b09e5..64b214e 100644
--- a/src/content/blog/example-content.md
+++ b/src/content/blog/example-content.md
@@ -3,6 +3,7 @@ title: "Example Content"
author: "Example User"
pubDate: "2018-01-01"
description: "Howdy! This is an example blog post that shows several types of HTML content supported in this theme."
+draft: true
---
Cum sociis natoque penatibus et magnis <a href="#">dis parturient montes</a>, nascetur ridiculus mus. _Aenean eu leo quam._ Pellentesque ornare sem lacinia quam venenatis vestibulum. Sed posuere consectetur est at lobortis. Cras mattis consectetur purus sit amet fermentum.
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(),
}),