theme-blog-ewen/layouts/partials/i18nlist.html

10 lines
259 B
HTML
Raw Normal View History

2023-12-15 16:26:57 +00:00
{{ if .IsTranslated }}
<h4>{{ i18n "translations " }}</h4>
<ul>
{{ range .Translations }}
<li>
<a href="{{ .Permalink }}">{{ .Lang }}: {{ .Title }}{{ if .IsPage }} ({{ i18n "wordCount" . }}){{ end }}</a>
</li>
{{ end }}
</ul>
{{ end }}