add DisableLanguageSwitch
This commit is contained in:
parent
c369bd5b3f
commit
cb9776f699
|
@ -94,6 +94,7 @@
|
|||
</button>
|
||||
{{- end }}
|
||||
|
||||
{{- if not site.Params.DisableLanguageSwitch }}
|
||||
{{- $lang := .Lang}}
|
||||
{{- $separator := or $label_text (not site.Params.disableThemeToggle)}}
|
||||
{{- with site.Home.AllTranslations }}
|
||||
|
@ -115,6 +116,7 @@
|
|||
{{- end}}
|
||||
</ul>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
</span>
|
||||
</div>
|
||||
{{- $currentPage := . }}
|
||||
|
|
Loading…
Reference in New Issue