From 971e8b631d4f87376e2c07731aa206f183f6728f Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Sat, 25 Jun 2022 11:00:20 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20homepage=20link=20when=20`?= =?UTF-8?q?baseURL`=20contains=20sub-directories=20in=20path?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + layouts/partials/header.html | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ccea54f..0d7cbf6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Search link does not appear in header if main menu has no items to display - Search only returns results in the primary language when multiple languages are available ([#229](https://github.com/jpanther/congo/issues/229)) +- Link to homepage would be incorrect in some deployments if `baseURL` contained sub-directories in the path ## [2.2.3] - 2022-06-22 diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 82813460..fec98296 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -6,7 +6,7 @@ {{ if .Site.Params.Logo -}} {{ $logo := resources.Get .Site.Params.Logo }} {{ if $logo }} - + {{ .Site.Title | markdownify | emojify }} {{- end }}