Add full project source

This commit is contained in:
Vladimír Duša
2026-03-11 09:11:08 +01:00
parent 51e3984077
commit 110e2dd471
35 changed files with 1422 additions and 19 deletions

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

@@ -0,0 +1,15 @@
import { defineCollection, z } from 'astro:content';
const blog = defineCollection({
type: 'content',
schema: z.object({
title: z.string(),
date: z.date(),
description: z.string(),
image: z.string(),
draft: z.boolean().default(false),
tags: z.array(z.string()).default([]),
}),
});
export const collections = { blog };