From 092fc33013efd6aee7d6be0f7d357f61ed1313e6 Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Sun, 3 May 2020 15:37:08 +0200 Subject: [PATCH] fix footer html --- layouts/partials/footer.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 1deb5f0..a1d60d1 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -4,10 +4,10 @@ © {{ if eq .Params.License .Site.Params.License }}{{ with .Site.Params.licenseurl }}{{ end }}{{ end }} {{ .Params.License }} - {{ with .Site.Params.licenseurl }}{{ end }} + {{ if eq .Params.License .Site.Params.License }}{{ with .Site.Params.licenseurl }}{{ end }}{{ end }} {{ with .Site.Params.copyrighturl }}{{ end }} {{ .Site.Params.copyrightname }} - {{ if eq .Params.License .Site.Params.License }}{{ with .Site.Params.copyrighturl }}{{ end }}{{ end }} + {{ with .Site.Params.copyrighturl }}{{ end }} 2020 {{ if isset .Site.Params "showhugo" }} | {{ i18n "builton" }} Hugo