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:
Eitan Adler 2024-05-18 03:31:58 -07:00 committed by GitHub
parent 1c42a96572
commit 1c78b920b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 }}