Skip to content

Commit

Permalink
Merge pull request #1 from githubmonkey/githubmonkey-patch-issue-24
Browse files Browse the repository at this point in the history
Update header.html
  • Loading branch information
githubmonkey authored Sep 14, 2021
2 parents e7c6281 + 8394210 commit 3f5ca4f
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 3f5ca4f

Please sign in to comment.