mirror of
https://github.com/10h30/astroplate.git
synced 2026-07-16 13:13:26 +09:00
readme modified
This commit is contained in:
@@ -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,
|
||||
};
|
||||
Reference in New Issue
Block a user