mirror of
https://github.com/Fluffy-Bean/website.git
synced 2025-05-29 14:53:16 +00:00
Banner full-screen
Change working to newer/older fug update npm modules
This commit is contained in:
parent
3d578f2746
commit
e45e012977
6 changed files with 350 additions and 356 deletions
|
@ -3,10 +3,10 @@ import { z, defineCollection } from "astro:content";
|
|||
const postsCollection = defineCollection({
|
||||
type: "content",
|
||||
schema: z.object({
|
||||
draft: z.boolean().optional(),
|
||||
draft: z.boolean().optional().default(false),
|
||||
title: z.string(),
|
||||
description: z.string(),
|
||||
pubDate: z.date(),
|
||||
date: z.string().transform((str) => new Date(str)),
|
||||
tags: z.array(z.string()),
|
||||
}),
|
||||
});
|
||||
|
@ -14,7 +14,7 @@ const postsCollection = defineCollection({
|
|||
const projectsCollection = defineCollection({
|
||||
type: "content",
|
||||
schema: z.object({
|
||||
draft: z.boolean().optional(),
|
||||
draft: z.boolean().optional().default(false),
|
||||
title: z.string(),
|
||||
description: z.string(),
|
||||
tags: z.array(z.string()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue