fix: use hugo.IsMultilingual to replace deprecated .Site.IsMultiLingual (#404)

This commit is contained in:
Andreas Deininger
2024-05-29 10:11:25 +02:00
committed by GitHub
parent 857c4e4ca1
commit b2bc4f7098
7 changed files with 11 additions and 9 deletions

View File

@ -5,7 +5,7 @@
{{- $changeLanguage := (T "changeLanguage") | default "Change language" -}}
{{- if site.IsMultiLingual -}}
{{- if hugo.IsMultilingual -}}
<div class="hx-flex hx-justify-items-start {{ if $grow }}hx-grow{{ end }}">
<button
title="{{ $changeLanguage }}"