bobatheme/layouts/partials/post-meta-item/translations.html
2021-11-23 19:06:26 -06:00

9 lines
286 B
HTML

{{ if .IsTranslated }}
<span class="post-meta-item" aria-label="{{ i18n "aria_post_meta_translations" }}">
{{ partial "icon.html" "world" }}
{{ range .Translations }}
<a href="{{ .Permalink }}">{{ .Language }}</a>
{{ end }}
</span>
{{ end }}