Files
blazestar.net/src/pages/about.astro
2026-04-21 15:39:16 -07:00

21 lines
439 B
Plaintext

---
import RootLayout from '../layouts/RootLayout.astro';
import NotchedBox from '../components/NotchedBox.astro';
import { getEntry, render } from 'astro:content';
const about = await getEntry('page', 'about');
if (!about) {
throw new Error('Page not found');
}
const { Content } = await render(about);
---
<RootLayout>
<NotchedBox fillNotches="left">
<h1>{about.data.title}</h1>
<Content />
</NotchedBox>
</RootLayout>