From 2bf64117190300caac82594cb7818dbc7f67af67 Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Fri, 12 Jan 2024 13:50:20 +0000 Subject: Moves Navbar/Footer to sub-layouts --- src/layouts/Article.astro | 4 ++++ src/layouts/Layout.astro | 4 ---- src/layouts/Page.astro | 4 ++++ 3 files changed, 8 insertions(+), 4 deletions(-) (limited to 'src') 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; --- +
+