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

Revert "Switch from deprecated (since Hugo 0.124) .Site.IsMultiLingual to the...

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

This reverts commit a6cd6849.
parent 58bcc26f
No related branches found
No related tags found
1 merge request!675Revert "Use official Hugo docker image instead of the outdated klakegg/hugo"
......@@ -23,7 +23,7 @@
{{ end }}
{{ end }}
{{ if hugo.IsMultilingual }}
{{ if .Site.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 hugo.IsMultilingual }}
{{ if .Site.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 hugo.IsMultilingual }}
{{ if .Site.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