Skip to content

Commit

Permalink
Update header.html
Browse files Browse the repository at this point in the history
Bug fix to deal with issue GDGToulouse#24
  • Loading branch information
githubmonkey authored and mnestor committed Feb 12, 2022
1 parent a92b50b commit 6bb6107
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 6bb6107

Please sign in to comment.