theme-blog-ewen/layouts/partials/i18nlist.html
2022-02-22 20:21:32 +01:00

10 lines
259 B
HTML

{{ 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 }}