summaryrefslogtreecommitdiff
path: root/src/layouts/Blog.astro
blob: 0300b59478fff6e7796c7e2b07b42b5502704519 (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">
            <Markdown>
                <slot />
            </Markdown>
        </main>
    </body>
</html>