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