<ul class="menu menu--desktop menu--language-selector"> <li class="menu__trigger">{{ .Language.LanguageName }} ▾</li> <li> <ul class="menu__dropdown"> {{ range $.Site.Home.AllTranslations }} <li><a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a></li> {{ end }} </ul> </li> </ul>