diff options
Diffstat (limited to 'src/layouts')
| -rw-r--r-- | src/layouts/Layout.astro | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index d8e68d1..26a8e13 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,11 +1,12 @@ --- import "../styles/terminal.css"; +import Nav from "../components/Nav.astro"; interface Props { - title: string; + dir: string; } -const { title } = Astro.props; +const { dir: title } = Astro.props; --- <!doctype html> @@ -16,9 +17,12 @@ const { title } = Astro.props; <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> + <title>/home/kyren/{title}</title> </head> <body> - <slot /> + <main> + <Nav path={title} /> + <slot /> + </main> </body> </html> |
