github.io/layouts/partials/i18n/list.html

6 lines
256 B
HTML

{{ if .IsTranslated }}<h6>{{ T "translations" }}:</h6>
<ul>{{ range .Translations }}
<li>
<a href='{{ .RelPermalink }}'>{{ .Language.LanguageName }}: {{ .Title }}{{ if .IsPage }} ({{ i18n "wordCount" . }}){{ end }}</a>
</li>{{ end }}
</ul>{{ end }}