Skip to content
Snippets Groups Projects
Commit a6cd6849 authored by Dylan Aïssi's avatar Dylan Aïssi
Browse files

Switch from deprecated (since Hugo 0.124) .Site.IsMultiLingual to the new hugo.IsMultilingual

parent 0eb803f0
No related branches found
No related tags found
1 merge request!673Use official Hugo docker image instead of the outdated klakegg/hugo
......@@ -23,7 +23,7 @@
{{ end }}
{{ end }}
{{ if .Site.IsMultiLingual }}
{{ if hugo.IsMultilingual }}
{{ if ge (len .Site.Languages) 3 }}
<li class="navlinks-container">
<a class="navlinks-parent" href="javascript:void(0)">{{ i18n "languageSwitcherLabel" }}</a>
......@@ -70,7 +70,7 @@
{{ end }}
{{ end }}
{{ if .Site.IsMultiLingual }}
{{ if hugo.IsMultilingual }}
{{ if ge (len .Site.Languages) 3 }}
<li class="navlinks-container">
<a class="navlinks-parent" href="javascript:void(0)">{{ i18n "languageSwitcherLabel" }}</a>
......@@ -148,7 +148,7 @@
{{ end }}
{{ end }}
{{ if .Site.IsMultiLingual }}
{{ if hugo.IsMultilingual }}
{{ if ge (len .Site.Languages) 3 }}
<li class="navlinks-container">
<a class="navlinks-parent" href="javascript:void(0)">{{ i18n "languageSwitcherLabel" }}</a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment