feat: minor fixes
This commit is contained in:
1 parent
75d87f3afc
commit
ea4a453e25
14 files changed
+193
-104
No files matched your search
@@ -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 = {
|
||||
|
||||
Reference in new issue
Block a user