Skip to content

Commit 713f65c

Browse files
committed
Fix separator displayed with Single lang sites
with Hugo 0.123.x fixes adityatelange#1449
1 parent 17cc0b7 commit 713f65c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/partials/header.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898

9999
{{- $lang := .Lang}}
100100
{{- $separator := or $label_text (not site.Params.disableThemeToggle)}}
101-
{{- with site.Home.AllTranslations }}
101+
{{- with site.Home.Translations }}
102102
<ul class="lang-switch">
103103
{{- if $separator }}<li>|</li>{{ end }}
104104
{{- range . -}}

0 commit comments

Comments
 (0)