show language selector only when there is more than one language
This commit is contained in:
parent
1e46e9cdaf
commit
60a15e7b38
@ -27,7 +27,7 @@
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if $.Site.Params.showLanguageSelector }}
|
||||
{{ if and $.Site.Params.showLanguageSelector (len $.Site.Home.AllTranslations) }}
|
||||
<div class="spacer"></div>
|
||||
<ul class="language-selector">
|
||||
<ul class="language-selector-current">
|
||||
|
Loading…
Reference in New Issue
Block a user