This commit is contained in:
Felix Klement committed 2026-09-18 16:04:05 +02:00
commit 4cda1ca41b
72 files changed
+8169

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
---
import { getCollection } from 'astro:content';
import Post from '../_Post.astro';
export async function getStaticPaths() {
const posts = await getCollection('insights');
return posts.map((post) => ({ params: { slug: post.id }, props: { post } }));
}
const { post } = Astro.props;
---
<Post lang="en" post={post} />