DisableLanguageSwitch affects logo link
This commit is contained in:
parent
7d6d7d5a3f
commit
8c344920f1
|
@ -44,7 +44,11 @@
|
|||
<div class="logo">
|
||||
{{- $label_text := (site.Params.label.text | default site.Title) }}
|
||||
{{- if site.Title }}
|
||||
{{- if site.Params.DisableLanguageSwitch }}
|
||||
<a href="/" accesskey="h" title="{{ $label_text }} (Alt + H)">
|
||||
{{- else }}
|
||||
<a href="{{ "" | absLangURL }}" accesskey="h" title="{{ $label_text }} (Alt + H)">
|
||||
{{- end }}
|
||||
{{- if site.Params.label.icon }}
|
||||
{{- $img := resources.Get site.Params.label.icon }}
|
||||
{{- if $img }}
|
||||
|
|
Loading…
Reference in New Issue