Fix separator displayed with Single lang sites
with Hugo 0.123.x fixes #1449
This commit is contained in:
parent
4278a07b74
commit
c8f72ab1f4
|
@ -98,7 +98,7 @@
|
|||
|
||||
{{- $lang := .Lang}}
|
||||
{{- $separator := or $label_text (not site.Params.disableThemeToggle)}}
|
||||
{{- with site.Home.AllTranslations }}
|
||||
{{- with site.Home.Translations }}
|
||||
<ul class="lang-switch">
|
||||
{{- if $separator }}<li>|</li>{{ end }}
|
||||
{{- range . -}}
|
||||
|
|
Loading…
Reference in New Issue