From 3d2425fda5213a78e22ace98bb331b39dbfb4150 Mon Sep 17 00:00:00 2001 From: xenua Date: Sat, 22 Oct 2022 13:27:14 +0200 Subject: [PATCH] i forgor what i changed but im sure its significant somehow --- sass/style.sass | 9 +++++++-- templates/base.html | 3 --- templates/page.html | 4 ++++ 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/sass/style.sass b/sass/style.sass index f49dc33..4c28087 100644 --- a/sass/style.sass +++ b/sass/style.sass @@ -167,7 +167,7 @@ body @media screen and (max-width: 980px) body - height: revert + // height: revert display: flex flex-flow: column nowrap padding-right: 0 @@ -175,11 +175,16 @@ body aside overflow-y: revert border-bottom: none + flex-shrink: 0 article margin: 0 overflow-y: revert - + flex-grow: 1 + + footer + flex-shrink: 0 + @media screen and (max-width: 480) body font-size: 12pt diff --git a/templates/base.html b/templates/base.html index 1541d52..9fa397c 100644 --- a/templates/base.html +++ b/templates/base.html @@ -28,7 +28,4 @@ - {% block js %} - - {% endblock %} \ No newline at end of file diff --git a/templates/page.html b/templates/page.html index 6bd3969..7fdb109 100644 --- a/templates/page.html +++ b/templates/page.html @@ -48,7 +48,11 @@ {% block footer %} + {% if page.date %} + {{ page.date | date(format='%Y') }} + {% else %} {{ now() | date(format='%Y') }} + {% endif %} {% if page.extra.author %} {{ page.extra.author }} {% elif config.extra.author %}