end -}}
                  {{ range $translations -}}
                  {{ $translation := . -}}
                  {{ range $siteLanguages -}}
                  {{ if eq $translation.Lang .Lang -}}
                  {{ $selected := false -}}
                  {{ if eq $pageLang .Lang -}}
                  <option id="{{ $translation.Language }}" value="{{ $translation.RelPermalink }}" selected>
                    {{ .LanguageName }}
                  </option>
                  {{ else -}}
                 