readme modified

This commit is contained in:
Al Murad Uzzaman
2024-07-31 12:17:20 +06:00
parent b01e1a8e06
commit f4c45c5b8f
7 changed files with 46 additions and 64 deletions
-24
View File
@@ -1,24 +0,0 @@
import { defineCollection, z } from "astro:content";
const elementsCollection = defineCollection({
schema: z.object({
title: z.string(),
meta_title: z.string().optional(),
description: z.string(),
draft: z.boolean().optional(),
}),
});
const privacyCollection = defineCollection({
schema: z.object({
title: z.string(),
meta_title: z.string().optional(),
description: z.string(),
draft: z.boolean().optional(),
}),
});
export const collections = {
elements: elementsCollection,
privacy: privacyCollection,
};