Can hide blog posts

This commit is contained in:
Joe Carstairs
2024-06-11 11:27:00 +01:00
parent fe154c01cf
commit 952c90bbbf
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -10,6 +10,7 @@ const blog = defineCollection({
type: 'content',
schema: z.object({
title: z.string(),
hidden: z.optional(z.boolean()),
description: z.string(),
pubDate: dateSchema,
updatedDate: z.optional(dateSchema),