Move to Astro

This commit is contained in:
2023-02-01 14:12:30 +00:00
commit bf36c8c9b3
463 changed files with 10340 additions and 0 deletions

14
src/content/config.ts Normal file
View File

@@ -0,0 +1,14 @@
import { z, defineCollection } from "astro:content";
const blogCollection = defineCollection({
schema: z.object({
title: z.string(),
description: z.string(),
image: z.string(),
date: z.date(),
}),
});
export const collections = {
blog: blogCollection,
};