Some checks failed
Blowfish Docs Deploy / build (push) Has been cancelled
Blowfish Docs Deploy / deploy (push) Has been cancelled
Test Build / Build Example Site (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
Update Hugo version / updateBlowfish (push) Has been cancelled
Delete exampleSite Add initial content, images & docker-compose.yml Use extend-head.html for analytics Set remote url to gitea.novicelab.io Remove original .git due to "shallow update not allowed" error
24 lines
821 B
HTML
24 lines
821 B
HTML
{{ if .IsTranslated }}
|
|
<div class="translation nested-menu">
|
|
<button class="cursor-pointer flex items-center">
|
|
<span class="me-1">
|
|
{{ partial "icon.html" "language" }}
|
|
</span>
|
|
<span class="text-sm font-medium bf-icon-color-hover" title="{{ .Title }}">
|
|
{{- i18n "global.language" | markdownify -}}
|
|
</span>
|
|
</button>
|
|
<ul class="menuhide">
|
|
<li class="rounded-xl backdrop-blur shadow-2xl p-2 flex flex-col gap-1">
|
|
{{ range .AllTranslations }}
|
|
<a href="{{ .RelPermalink }}" class="flex items-center bf-icon-color-hover px-3 py-1">
|
|
<span class="text-sm font-sm" title="{{ .Title }}">
|
|
{{ .Language.Params.displayName | emojify }}
|
|
</span>
|
|
</a>
|
|
{{ end }}
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
{{ end }}
|