Add the ability to support hidden draft posts

This commit is contained in:
aria 2025-05-21 02:03:33 +10:00
parent 7548baa72d
commit fce732ee41
Signed by: aria
SSH key fingerprint: SHA256:WqtcVnDMrv1lnUlNah5k31iywFUI/DV+5yHzCTO4Vds
5 changed files with 11 additions and 1 deletions

View file

@ -13,6 +13,7 @@ const blog = defineCollection({
description: z.string(),
author: z.string(),
tags: z.array(z.string()),
draft: z.boolean(),
}),
});