summaryrefslogtreecommitdiff
path: root/src/layouts/Blog.astro
blob: 7394ac1523e24834439bf81b50b8dbbaf06b60cc (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={title} />
    <body>
        <main class="w-[70%] m-auto py-16">
            <Markdown>
                <slot />
            </Markdown>
        </main>
    </body>
</html>