From 410d12b3745ac6de9fa37b8c696bddb2d856b2e6 Mon Sep 17 00:00:00 2001 From: Lynnesbian Date: Mon, 6 Apr 2020 22:34:35 +1000 Subject: [PATCH] added a thing that makes the footer be at the bottom of the page --- _layouts/default.html | 6 ++++-- assets/style.css | 6 ++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 5870208..5cef655 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -87,8 +87,10 @@ - {% unless page.no_header %}{% include header.html %}{% endunless %} - {{ content }} + {% unless page.no_footer %}{% include footer.html %}{% endunless %} diff --git a/assets/style.css b/assets/style.css index 54b2384..1b1649d 100644 --- a/assets/style.css +++ b/assets/style.css @@ -1,6 +1,12 @@ body { font-family: "Liberation Sans", "Nimbus Sans", "Arial", "Helvetica", sans-serif; margin: 0; + display: flex; + flex-direction: column; + min-height: 100vh; +} +#thing-that-makes-the-footer-be-at-the-bottom-of-the-page { + flex: 1 1; } h1 {