From 3fc4699072e1dd5036b701c663d6ef4b876939a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20P=C4=99dzich?= Date: Mon, 23 Sep 2024 18:33:22 +0200 Subject: [PATCH] Mark the draft field as false by default --- src/content/blog/going-global-with-localhost.md | 1 + src/content/config.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/content/blog/going-global-with-localhost.md b/src/content/blog/going-global-with-localhost.md index 8333479..bba6971 100644 --- a/src/content/blog/going-global-with-localhost.md +++ b/src/content/blog/going-global-with-localhost.md @@ -2,6 +2,7 @@ title: going global with localhost description: "This is how I've set up my local network and machine to safely expose my personal projects and other services to the outside world" pubDate: 2024-09-23T15:00:00.00Z +draft: false categories: - project homelabtop tags: diff --git a/src/content/config.ts b/src/content/config.ts index 3b13bbe..77fa2fe 100644 --- a/src/content/config.ts +++ b/src/content/config.ts @@ -4,7 +4,7 @@ const blog = defineCollection({ schema: z.object({ title: z.string(), description: z.string(), - draft: z.boolean(), + draft: z.boolean().default(false), pubDate: z .string() .or(z.date())