Skip to content

Commit

Permalink
Fix error: .Site.IsMultiLingual was deprecated in v0.124.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
646a74 committed Nov 2, 2024
1 parent 84b4712 commit 19c4d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/navigation.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<a href="{{ .Site.BaseURL }}{{ .Site.LanguagePrefix }}/about/">{{ i18n "about" }}</a>
<a href="{{ .Site.BaseURL }}{{ .Site.LanguagePrefix }}/tags/">{{ i18n "tags" }}</a>
<a href="{{ .Site.BaseURL }}{{ .Site.LanguagePrefix }}/contact/">{{ i18n "contact" }}</a>
{{- if .Site.IsMultiLingual -}}
{{- if hugo.IsMultilingual -}}
{{- range $lang := .Site.Languages -}}
{{- if ne $.Site.Language $lang -}}
<a href="/{{ $lang }}">{{ $lang }}</a>
Expand Down

0 comments on commit 19c4d2d

Please sign in to comment.