mirror of
https://github.com/imfing/hextra.git
synced 2025-06-20 00:31:17 -04:00
fix: use hugo.IsMultilingual
to replace deprecated .Site.IsMultiLingual
(#404)
This commit is contained in:

committed by
GitHub

parent
857c4e4ca1
commit
b2bc4f7098
@ -20,7 +20,7 @@
|
||||
{{- partial "language-switch.html" (dict "context" .) -}}
|
||||
{{- with $displayThemeToggle }}{{ partial "theme-toggle.html" }}{{ end -}}
|
||||
</div>
|
||||
{{- if or site.IsMultiLingual $displayThemeToggle -}}
|
||||
{{- if or hugo.IsMultilingual $displayThemeToggle -}}
|
||||
<hr class="dark:hx-border-neutral-800" />
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
Reference in New Issue
Block a user