replace .Site.IsMultiLingual with hugo.IsMultilingual (#609)
# Problem The warning ``` INFO deprecated: .Site.IsMultiLingual was deprecated in Hugo v0.124.0 and will be removed in a future release. Use hugo.IsMultilingual instead.`` shows up # Solution Follow the deprecation warning
This commit is contained in:
parent
1c42a96572
commit
1c78b920b0
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
<nav>
|
<nav>
|
||||||
{{ partial "docs/brand" . }}
|
{{ partial "docs/brand" . }}
|
||||||
{{ partial "docs/search" . }}
|
{{ partial "docs/search" . }}
|
||||||
{{ if .Site.IsMultiLingual }}
|
{{ if hugo.IsMultilingual }}
|
||||||
{{ partial "docs/languages" . }}
|
{{ partial "docs/languages" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue