Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GDGToulouse/devfest-theme-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvia Dieckmann <githubmonkey@users.noreply.github.com>2021-09-14 22:29:01 +0300
committerGitHub <noreply@github.com>2021-09-14 22:29:01 +0300
commit8394210f18eaa84b25d6538cc98d23e07b93a19f (patch)
tree8a9c5e846c9932b3b5ef4dc1fc7a093db6c075b5
parente7c62815e13bda5c0769e988d05346aeb6dbd2f8 (diff)
Update header.html
Bug fix to deal with issue https://github.com/GDGToulouse/devfest-theme-hugo/issues/24
-rw-r--r--layouts/partials/header.html4
1 files 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 }}
</a>
- {{ else if (isset .Page.Params "icon") }}
+ {{ else if (isset .Params "icon") }}
<a href="{{ .URL | relLangURL }}" class="link-icon" title="{{ .Name }}" aria-label="{{ .Name }}">
<span class="visually-hidden">{{ .Name }}</span>
- {{ partial "icon.html" .Page.Params.icon }}
+ {{ partial "icon.html" .Params.icon }}
</a>
{{ else }}
<a href="{{ .URL | relLangURL }}">{{ .Name }}</a>