summaryrefslogtreecommitdiff
path: root/old_stuff/src/layouts/Blog.astro
blob: aa773c23008b19cd36f7a2da5258443b00c7ce2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
import Markdown from "@components/Markdown.astro";
import Head from "@components/Head.astro";

interface Props {
    title: string;
}

const { title } = Astro.props;
---

<!doctype html>
<html lang="en">
    <Head title={title} description="My blog post" />
    <body>
        <main class="w-[70%] m-auto py-16">
            <Markdown>
                <slot />
            </Markdown>
        </main>
    </body>
</html>