hugo-labs/layouts/_default/single.html

14 lines
271 B
HTML
Raw Normal View History

2018-06-07 14:28:01 +02:00
{{ define "main" }}
{{ .Content }}
{{ if .IsTranslated }}
<h4>{{ i18n "translations" }}</h4>
<ul>
{{ range .Translations }}
<li>
<a href="{{ .RelPermalink }}">{{ .Lang }}: {{ .Title }}</a>
</li>
{{ end }}
</ul>
{{ end }}
{{ end }}