From 3b3d78afaffc840f7f593bd2be79d64828e0f49a Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Wed, 25 May 2022 13:57:24 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20main=20content=20not=20gro?= =?UTF-8?q?wing=20to=20window=20height?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #201 --- CHANGELOG.md | 4 ++++ layouts/_default/baseof.html | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 934edf3c..c9454770 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 doesn't grow to window height ([#201](https://github.com/jpanther/congo/issues/201)) + ## [2.2.0] - 2022-05-09 ### Added diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 958ec7e2..c999751a 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) }} @@ -44,10 +44,10 @@
{{ end }} + {{- partial "footer.html" . -}} {{ if .Site.Params.enableSearch | default false }} {{- partial "search.html" . -}} {{ end }} - {{- partial "footer.html" . -}}