From 14defaf2f160ccc901e0536894694427f47a4d86 Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Tue, 19 Mar 2024 09:53:52 -0400 Subject: [PATCH] Extend base layout instead of layout partials --- docs/_includes/layout/footer.html | 3 --- docs/_includes/layout/header.html | 10 ---------- docs/_layouts/base.html | 19 ++++++++++++++----- docs/_layouts/component.html | 6 +++--- 4 files changed, 17 insertions(+), 21 deletions(-) delete mode 100644 docs/_includes/layout/footer.html delete mode 100644 docs/_includes/layout/header.html diff --git a/docs/_includes/layout/footer.html b/docs/_includes/layout/footer.html deleted file mode 100644 index 44edc3fc..00000000 --- a/docs/_includes/layout/footer.html +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/_includes/layout/header.html b/docs/_includes/layout/header.html deleted file mode 100644 index bfe0a8e1..00000000 --- a/docs/_includes/layout/header.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - {{ page.title }} - - - - diff --git a/docs/_layouts/base.html b/docs/_layouts/base.html index 05ff7527..a86450ed 100644 --- a/docs/_layouts/base.html +++ b/docs/_layouts/base.html @@ -1,5 +1,14 @@ -{% include layout/header.html %} - -{{ content }} - -{% include layout/footer.html %} + + + + + + {{ page.title }} + + + + + {{ content }} + + + diff --git a/docs/_layouts/component.html b/docs/_layouts/component.html index 9b162ae0..4c3ddc51 100644 --- a/docs/_layouts/component.html +++ b/docs/_layouts/component.html @@ -1,4 +1,6 @@ -{% include layout/header.html %} +--- +layout: base +---
@@ -28,5 +30,3 @@

{{ page.title }}

- -{% include layout/footer.html %}