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