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 %}