From 0bb133e4d594b1c7c891c22a496ded5077f73c30 Mon Sep 17 00:00:00 2001 From: Jonah Aragon Date: Tue, 2 Apr 2019 23:18:06 -0500 Subject: [PATCH] Split apart layouts Some pages don't need a footer. --- _layouts/default.html | 29 +++++++++-------------------- _layouts/minimal.html | 14 ++++++++++++++ 2 files changed, 23 insertions(+), 20 deletions(-) create mode 100644 _layouts/minimal.html diff --git a/_layouts/default.html b/_layouts/default.html index 8bb12370..fb2216b8 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,20 +1,9 @@ - - -{% include head.html %} - -
- {% include nav.html %} -
-
-
-
- {{ content }} -
-
- {% include footer.html %} -
-
- - {% include scripts.html %} - - +--- +layout: minimal +--- +
+{{ content }} +
+ diff --git a/_layouts/minimal.html b/_layouts/minimal.html new file mode 100644 index 00000000..313a12ed --- /dev/null +++ b/_layouts/minimal.html @@ -0,0 +1,14 @@ + + +{% include head.html %} + +
+ {% include nav.html %} +
+
+
+ {{ content }} +
+ {% include scripts.html %} + +