diff options
| author | seth <[email protected]> | 2024-10-09 10:59:13 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-10-09 10:59:13 -0400 |
| commit | d17bca56238e9ca326d60e58230d0d354f23bfe8 (patch) | |
| tree | 12aee4c37a1490914e6307ce1b0023be2df93105 /src/layouts/Base.astro | |
| parent | 7d6495399d5e1ba429a339de1c3a00f121e89305 (diff) | |
back to astro for hopefully the last time (#146)
Diffstat (limited to 'src/layouts/Base.astro')
| -rw-r--r-- | src/layouts/Base.astro | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro new file mode 100644 index 0000000..2aa3d9e --- /dev/null +++ b/src/layouts/Base.astro @@ -0,0 +1,21 @@ +--- +import Footer from "@components/Footer.astro"; +import Head from "@components/Head.astro"; +import Nav from "@components/Nav.astro"; + +const { title, description } = Astro.props.frontmatter || Astro.props; +--- + +<!doctype html> +<html lang="en"> + <Head title={title} description={description} /> + <body> + <header> + <Nav /> + </header> + <div class="main-content"> + <slot /> + </div> + <Footer /> + </body> +</html> |
