started coding the docs

This commit is contained in:
2024-02-01 14:50:19 +01:00
parent e4eb93c180
commit a77cbf4a49
8 changed files with 643 additions and 3 deletions

View File

@@ -1,5 +1,10 @@
---
import { date } from "astro/zod";
import Layout from "../layouts/Layout.astro";
const allDocs = await Astro.glob("./docs/*.mdx");
const fileteredDocs = allDocs.sort(
(a, b) => +new Date(b.frontmatter.date) - +new Date(a.frontmatter.date),
);
---
<Layout

View File