Fix: deprecation of .Site.IsMultiLingual

This commit is contained in:
Aroy-Art 2024-08-27 22:03:08 +02:00
parent 2c47cd338c
commit 6de81928c4
Signed by: Aroy
GPG key ID: DB9689E9391DD156

View file

@ -36,7 +36,7 @@
{{ end }}
</ul>
{{- if site.IsMultiLingual }}
{{- if hugo.IsMultilingual }}
<select id="select-language" onchange="location = this.value;">
{{ $siteLanguages := site.Languages }}
{{ $pageLang := .Page.Lang}}