mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
FIx deprecation warning
This commit is contained in:
parent
b063a362e9
commit
f8e36bb08c
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@
|
||||||
</div>
|
</div>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- $siteLanguages := .Site.Languages }}
|
{{- $siteLanguages := .Site.Languages }}
|
||||||
{{- $showlangswitch := and .Site.IsMultiLingual (not .Site.Params.disableLanguageSwitchingButton) (gt (int (len $siteLanguages)) 1) }}
|
{{- $showlangswitch := and hugo.IsMultilingual (not .Site.Params.disableLanguageSwitchingButton) (gt (int (len $siteLanguages)) 1) }}
|
||||||
{{- $themevariants := partialCached "get-theme-variants.hugo" . }}
|
{{- $themevariants := partialCached "get-theme-variants.hugo" . }}
|
||||||
{{- $showvariantswitch := gt (int (len $themevariants)) 1 }}
|
{{- $showvariantswitch := gt (int (len $themevariants)) 1 }}
|
||||||
{{- $footer := partial "menu-footer.html" . }}
|
{{- $footer := partial "menu-footer.html" . }}
|
||||||
|
|
Loading…
Reference in a new issue