From 8394210f18eaa84b25d6538cc98d23e07b93a19f Mon Sep 17 00:00:00 2001 From: Sylvia Dieckmann Date: Tue, 14 Sep 2021 21:29:01 +0200 Subject: Update header.html Bug fix to deal with issue https://github.com/GDGToulouse/devfest-theme-hugo/issues/24 --- layouts/partials/header.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 2ea5e89..f92ea45 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -24,10 +24,10 @@ {{ partial "icon.html" "external" }} {{ .Name }} - {{ else if (isset .Page.Params "icon") }} + {{ else if (isset .Params "icon") }} {{ .Name }} - {{ partial "icon.html" .Page.Params.icon }} + {{ partial "icon.html" .Params.icon }} {{ else }} {{ .Name }} -- cgit v1.2.3