Table of contents

This commit is contained in:
2022-06-11 12:05:59 +00:00
parent 93934438c7
commit c66a1cbf9a
3 changed files with 3 additions and 3 deletions

View File

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