hugo-labs/layouts/_default/single.html

14 lines
271 B
HTML

{{ define "main" }}
{{ .Content }}
{{ if .IsTranslated }}
<h4>{{ i18n "translations" }}</h4>
<ul>
{{ range .Translations }}
<li>
<a href="{{ .RelPermalink }}">{{ .Lang }}: {{ .Title }}</a>
</li>
{{ end }}
</ul>
{{ end }}
{{ end }}