Add smooth scrolling and move simple markdown out of directories

This commit is contained in:
thiloho
2025-04-27 06:43:35 +02:00
parent 6534a8d330
commit b1b19ac676
7 changed files with 11 additions and 34 deletions

View File

@@ -1,14 +1,6 @@
---
import PageLayout from "../layouts/PageLayout.astro";
import { getEntry, render } from "astro:content";
const legalContent = await getEntry("legal", "legal");
if (!legalContent) {
throw new Error();
}
const { Content } = await render(legalContent);
import { Content } from "../content/legal-disclosure.md";
---
<PageLayout