aboutsummaryrefslogtreecommitdiff
path: root/src/content
diff options
context:
space:
mode:
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(),
}),