hugo-theme-re-terminal/layouts/partials/language-menu.html

11 lines
329 B
HTML
Raw Normal View History

2022-11-07 23:34:01 +00:00
<ul class="menu menu--desktop menu--language-selector">
<li class="menu__trigger">{{ .Language.LanguageName }}&nbsp;</li>
<li>
<ul class="menu__dropdown">
{{ range $.Site.Home.AllTranslations }}
<li><a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a></li>
{{ end }}
</ul>
</li>
</ul>