From 0bb133e4d594b1c7c891c22a496ded5077f73c30 Mon Sep 17 00:00:00 2001 From: Jonah Aragon Date: Tue, 2 Apr 2019 23:18:06 -0500 Subject: [PATCH 1/2] 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 %} + + -- 2.47.2 From 19550a82b757bd8aa40f8109048684920385c211 Mon Sep 17 00:00:00 2001 From: Jonah Aragon Date: Tue, 2 Apr 2019 23:36:40 -0500 Subject: [PATCH 2/2] 404 Redesign --- 404.html | 25 +++++++++++++++++-------- _layouts/default.html | 14 ++++++++------ _layouts/minimal.html | 4 +--- assets/css/style.scss | 4 ++++ 4 files changed, 30 insertions(+), 17 deletions(-) diff --git a/404.html b/404.html index 49233e91..6e8e7276 100644 --- a/404.html +++ b/404.html @@ -1,14 +1,23 @@ --- -layout: default +layout: minimal active_page: 404 ---
-

404

-

Page not found :(

-

We're redirecting you to the home page in 5 seconds. If this doesn't work, click here.

+

404

+

We couldn't find that :(

+

Maybe you were looking for one of these pages?

+ +

If you believe you reached this page in error, please contact us!

- - diff --git a/_layouts/default.html b/_layouts/default.html index fb2216b8..d21112fc 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,9 +1,11 @@ --- layout: minimal --- -
-{{ content }} -
-
-{% include footer.html %} -
+
+
+ {{ content }} +
+
+ {% include footer.html %} +
+
diff --git a/_layouts/minimal.html b/_layouts/minimal.html index 313a12ed..1061dc36 100644 --- a/_layouts/minimal.html +++ b/_layouts/minimal.html @@ -6,9 +6,7 @@ {% include nav.html %}
-
- {{ content }} -
+ {{ content }} {% include scripts.html %} diff --git a/assets/css/style.scss b/assets/css/style.scss index 50d26ad6..3b119a45 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -98,6 +98,10 @@ h2, h3:not(.h5), h4, h5 { margin-bottom: 1rem; } +.header-404 { + font-size: 10rem; +} + .anchor-icon { font-size: .8em; } -- 2.47.2