From 70f668e644bf3044a6113c5e04bae1ee2bb3e968 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Thu, 26 Oct 2023 13:30:47 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20empty=20`li`=20output=20wh?= =?UTF-8?q?en=20no=20locales=20available?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #678 --- CHANGELOG.md | 1 + layouts/partials/footer.html | 19 ++++++------ layouts/partials/header/basic.html | 17 ++++++----- layouts/partials/header/hamburger.html | 21 ++++++++------ layouts/partials/header/hybrid.html | 40 +++++++++++++++----------- 5 files changed, 57 insertions(+), 41 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 31046aa1..94cdae62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Fixed +- Empty block is output when locale switcher is hidden ([#678](https://github.com/jpanther/congo/issues/678)) - Extra whitespace added after links ([#679](https://github.com/jpanther/congo/issues/679)) ## [2.7.1] - 2023-10-24 diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 0ac2c036..504ebc89 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -2,9 +2,12 @@ {{/* Footer menu */}} {{ if .Site.Menus.footer }}