              {{- end }}
              {{- end }}

              <!-- Language List -->
              {{ if site.IsMultiLingual -}}
              <li>
                <select id="select-language" onchange="location = this.value;">
                  {{ $siteLanguages := site.Languages -}}
                  {{ $pageLang := .Page.Lang -}}
                  {{ $translations := "" }}{{ if eq .Page.Kind "404" }}{{ $translations = site.Home.AllTranslations }}{{ else }}{{ $translations = .Page.AllTranslations }}{{ 