refactor: port site from Jekyll to Astro

This commit is contained in:
2026-01-10 09:46:51 +00:00
parent 04d807c388
commit 2e5101650f
63 changed files with 9430 additions and 3276 deletions

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

@@ -0,0 +1,12 @@
import { defineCollection, z } from "astro:content";
import { glob } from "astro/loaders";
const spec = defineCollection({
loader: glob({ pattern: "**/*.md", base: "./src/content/spec" }),
schema: z.object({
title: z.string(),
version: z.string(),
}),
});
export const collections = { spec };