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

interface Props {
    title: string;
}

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

<!doctype html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="description" content="Astro description" />
        <meta name="viewport" content="width=device-width" />
        <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
        <meta name="generator" content={Astro.generator} />
        <title>{title}</title>
    </head>
    <body>
        <main class="w-[70%] m-auto py-16">
            <Markdown>
                <slot />
            </Markdown>
        </main>
    </body>
</html>