+ {article.title}
+ {article.updatedAt && (
+ Stand: {article.updatedAt}
+ )}
+
+ {/* Gerendertes Markdown-HTML anzeigen */}
+
+
+ );
+}
\ No newline at end of file
diff --git a/data/wiki/pages/installation.md b/data/wiki/pages/installation.md
index df0aa00..a6f232f 100644
--- a/data/wiki/pages/installation.md
+++ b/data/wiki/pages/installation.md
@@ -1,3 +1,8 @@
+---
+title: Installation & Setup
+updatedAt: "2026-08-04"
+----
+
# Installation
## Test
diff --git a/lib/wiki.ts b/lib/wiki.ts
new file mode 100644
index 0000000..714f935
--- /dev/null
+++ b/lib/wiki.ts
@@ -0,0 +1,40 @@
+import fs from 'fs';
+import path from 'path';
+import matter from 'gray-matter';
+import { remark } from 'remark';
+import html from 'remark-html';
+
+export type WikiArticle = {
+ slug: string;
+ title: string;
+ contentHtml: string;
+ updatedAt?: string;
+};
+
+const wikiDirectory = path.join(process.cwd(), "data/wiki/pages");
+
+export async function getWikiPageBySlug(slug: string): Promise