Upgrades to Astro 5

This commit is contained in:
2024-12-24 09:26:32 +00:00
parent b080e56314
commit 532f75bea0
6 changed files with 2556 additions and 1734 deletions
-14
View File
@@ -1,14 +0,0 @@
import { defineCollection, z } from 'astro:content';
const blog = defineCollection({
type: 'content',
schema: z.object({
title: z.string(),
hidden: z.optional(z.boolean()),
description: z.string(),
pubDate: z.date(),
updatedDate: z.optional(z.date()),
}),
});
export const collections = { blog };