mirror of
https://github.com/maciejpedzich/maciejpedzi.ch.git
synced 2024-11-15 02:23:02 +01:00
Mark the draft field as false by default
This commit is contained in:
parent
f821aedf47
commit
3fc4699072
@ -2,6 +2,7 @@
|
|||||||
title: going global with localhost
|
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"
|
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
|
pubDate: 2024-09-23T15:00:00.00Z
|
||||||
|
draft: false
|
||||||
categories:
|
categories:
|
||||||
- project homelabtop
|
- project homelabtop
|
||||||
tags:
|
tags:
|
||||||
|
@ -4,7 +4,7 @@ const blog = defineCollection({
|
|||||||
schema: z.object({
|
schema: z.object({
|
||||||
title: z.string(),
|
title: z.string(),
|
||||||
description: z.string(),
|
description: z.string(),
|
||||||
draft: z.boolean(),
|
draft: z.boolean().default(false),
|
||||||
pubDate: z
|
pubDate: z
|
||||||
.string()
|
.string()
|
||||||
.or(z.date())
|
.or(z.date())
|
||||||
|
Loading…
Reference in New Issue
Block a user