Feat/wiki #40

Merged
robin merged 5 commits from feat/wiki into main 2026-08-26 12:47:36 +00:00
2 changed files with 11 additions and 4 deletions
Showing only changes of commit 9610884703 - Show all commits

No files matched your search

+10 -3
View File
@@ -1,11 +1,18 @@
import Article from "@/components/wiki/Article";
import { getAllWikiPages } from "@/lib/wiki";
export default function WikiIndexPage() {
const allPages = getAllWikiPages();
export default async function WikiIndexPage() {
const allPages = await getAllWikiPages();
return (
<Article title="Wiki">
<p>hi</p>
{allPages.map(({ title, path }) => (
<>
<a key={path} href={`/wiki/${path}`}>
{title}
</a>
<br />
</>
))}
</Article>
);
}
+1 -1
View File
@@ -1,5 +1,5 @@
---
title: Projekt Starten
title: Test Page
updatedAt: "2026-08-04"
---