Skip to content

Commit

Permalink
fixed .Site.IsMultiLingual was deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsut committed Oct 31, 2024
1 parent a980255 commit 2b5e28f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<a href="{{ .Permalink }}">{{ .Name }}</a>
</li>
{{ end }}
{{ if .Site.IsMultiLingual }}
{{ if hugo.IsMultilingual }}
{{ range .Site.Languages }}
{{ if eq . $.Site.Language }}
<li><a href="#" class="active language">{{ .LanguageName }}</a></li>
Expand Down

0 comments on commit 2b5e28f

Please sign in to comment.