From 757d2f06dccb2869cd2199cc35d2e1b4d72b6c30 Mon Sep 17 00:00:00 2001 From: Helder Pereira Date: Mon, 23 Aug 2021 23:40:44 +0100 Subject: [PATCH] Fix home link when base URL has some path --- exampleSite/layouts/partials/logo.html | 2 +- layouts/partials/logo.html | 2 +- layouts/partials/menu.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/exampleSite/layouts/partials/logo.html b/exampleSite/layouts/partials/logo.html index 68e9d694d9..2765a9d891 100644 --- a/exampleSite/layouts/partials/logo.html +++ b/exampleSite/layouts/partials/logo.html @@ -6,7 +6,7 @@ font-weight: bold; margin-top: -2px; " - href='{{ (cond (and (ne .Site.Params.landingPageURL nil) (.Site.IsMultiLingual)) .Site.Params.landingPageURL "/") }}'> + href="{{ .Site.Params.landingPageURL | default "/" | relLangURL }}"> + href="{{ .Site.Params.landingPageURL | default "/" | relLangURL }}">