From d4f98e2d1f85fbdffa2470071e22bba2dacc00c0 Mon Sep 17 00:00:00 2001 From: Leo Goetz Date: Fri, 8 May 2026 15:37:39 +0200 Subject: inital commit --- src/pages/blog.astro | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/pages/blog.astro (limited to 'src/pages/blog.astro') diff --git a/src/pages/blog.astro b/src/pages/blog.astro new file mode 100644 index 0000000..4df4e5c --- /dev/null +++ b/src/pages/blog.astro @@ -0,0 +1,14 @@ +--- +import Layout from "../layouts/Layout.astro"; +import BlogPost from "../components/BlogPost.astro"; +const allPosts = Object.values( + import.meta.glob("./posts/*.md", { eager: true }), +); +const sortedPosts = allPosts.toSorted((a: any, b: any) => { + return Date.parse(b.frontmatter.date) - Date.parse(a.frontmatter.date); +}); +--- + + +

Derzeit keine Posts, schau vielleicht später vorbei :)

+
-- cgit v1.3.1