We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 405e842 commit 9bb3165Copy full SHA for 9bb3165
layouts/partials/sidebar/left.html
@@ -77,7 +77,7 @@ <h2 class="site-description">{{ .Site.Params.sidebar.subtitle }}</h2>
77
78
<div class="menu-bottom-section">
79
{{- $currentLanguageCode := .Language.Lang -}}
80
- {{ if ( compare.Gt .Site.Home.AllTranslations 1 ) }}
+ {{ if ( compare.Gt .Site.Home.AllTranslations.Len 1 ) }}
81
{{ with .Site.Home.AllTranslations }}
82
<li id="i18n-switch">
83
{{ partial "helper/icon" "language" }}
0 commit comments