mirror of
https://github.com/panr/hugo-theme-terminal.git
synced 2025-03-15 02:39:06 +03:00
show language selector only when there is more than one language
This commit is contained in:
parent
1e46e9cdaf
commit
60a15e7b38
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue