Mark the draft field as false by default

This commit is contained in:
Maciej Pędzich 2024-09-23 18:33:22 +02:00
parent f821aedf47
commit 3fc4699072
Signed by: maciejpedzich
GPG Key ID: CE4A303D84882F0D
2 changed files with 2 additions and 1 deletions

View File

@ -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:

View File

@ -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())