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:
-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>