0
mirror of https://github.com/valentineus/popov.link.git synced 2025-10-15 06:00:24 +03:00

Initial Astro project

This commit is contained in:
2024-09-04 21:16:37 +00:00
parent ecf9a15e77
commit 7eff3fde57
66 changed files with 7118 additions and 2173 deletions

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

@@ -0,0 +1,13 @@
import { defineCollection, z } from "astro:content";
const blog = defineCollection({
type: "content",
schema: z.object({
author: z.string(),
description: z.string(),
pubDate: z.coerce.date(),
title: z.string(),
}),
});
export const collections = { blog };