From d8c2534762da9d0ca989fa52d5c81dafa7582a63 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Mon, 7 Feb 2022 09:37:59 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Fix=20`main`=20not=20filling=20s?= =?UTF-8?q?creen=20vertically?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 ++++ layouts/_default/baseof.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dad487e8..540858bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +### Fixed + +- Main content area not growing to fill screen vertically + ## [2.0.3] - 2022-02-07 ### Changed diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index f73c4da0..dd5fd6f7 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -26,7 +26,7 @@ > {{- partial "header.html" . -}} -
+
{{- block "main" . }}{{- end }} {{ if and (.Site.Params.showScrollToTop | default true) (gt .WordCount 200) }}