mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.git
synced 2024-11-18 06:39:16 +00:00
12 lines
583 B
HTML
12 lines
583 B
HTML
{{/* Link directly to documentation etc., if possible. */}}
|
|
{{ $langPage := cond (gt (len .Translations) 0) . .Site.Home }}
|
|
<div class="dropdown">
|
|
<a role="button" class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
<i class="fas fa-globe ms-2"></i>
|
|
</a>
|
|
<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
|
|
{{ range $langPage.AllTranslations }}
|
|
<li><a class="dropdown-item" href="{{ .RelPermalink }}">{{ .Language.LanguageName }}</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
</div> |