congo/layouts/partials/translations.html

14 lines
381 B
HTML
Raw Permalink Normal View History

2022-01-11 01:00:27 +00:00
{{ if .IsTranslated }}
<ul class="flex flex-row list-none">
2022-01-11 01:00:27 +00:00
{{ range .AllTranslations }}
<li class="ml-2">
<a
href="{{ .RelPermalink }}"
class="decoration-primary-500 hover:underline hover:decoration-2 hover:underline-offset-2"
>{{ .Language.Params.displayName | emojify }}</a
>
</li>
2022-01-11 01:00:27 +00:00
{{ end }}
</ul>
2022-01-11 01:00:27 +00:00
{{ end }}