diff options
Diffstat (limited to 'old_stuff/src/layouts/Blog.astro')
| -rw-r--r-- | old_stuff/src/layouts/Blog.astro | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/old_stuff/src/layouts/Blog.astro b/old_stuff/src/layouts/Blog.astro new file mode 100644 index 0000000..aa773c2 --- /dev/null +++ b/old_stuff/src/layouts/Blog.astro @@ -0,0 +1,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> |
