diff options
| author | Joe Carstairs <jcarstairs@scottlogic.com> | 2024-01-12 13:50:20 +0000 |
|---|---|---|
| committer | Joe Carstairs <jcarstairs@scottlogic.com> | 2024-01-12 13:50:20 +0000 |
| commit | 2bf64117190300caac82594cb7818dbc7f67af67 (patch) | |
| tree | 927ce1c8966fa5d01c72b511e38fba292619fe8a /src/layouts/Article.astro | |
| parent | da96287803ea26f4cc35173f9f34b71a1d6adfa5 (diff) | |
Moves Navbar/Footer to sub-layouts
Diffstat (limited to 'src/layouts/Article.astro')
| -rw-r--r-- | src/layouts/Article.astro | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/layouts/Article.astro b/src/layouts/Article.astro index 253479b..babe66f 100644 --- a/src/layouts/Article.astro +++ b/src/layouts/Article.astro @@ -1,4 +1,6 @@ --- +import Footer from '$components/Footer.astro'; +import Navbar from '$components/Navbar/Navbar.astro'; import Layout from './Layout.astro'; interface Props { @@ -9,7 +11,9 @@ const { title } = Astro.props; --- <Layout title={title}> + <Navbar /> <article id="main"> <slot /> </article> + <Footer /> </Layout> |
