feat: minor fixes

This commit is contained in:
saicaca committed 2023-10-18 21:24:51 +08:00
1 parent 75d87f3afc
commit ea4a453e25
14 files changed
+193 -104

No files matched your search

+7 -2
View File
@@ -3,8 +3,13 @@ import { z, defineCollection } from "astro:content";
const blogCollection = defineCollection({
schema: z.object({
title: z.string(),
tags: z.array(z.string()),
cover: z.string().optional(),
published: z.date(),
description: z.string().optional(),
cover: z.object({
url: z.string(),
alt: z.string(),
}),
tags: z.array(z.string()).optional(),
})
})
export const collections = {