hugo/examples/multilingual/layouts/uudis/single.html

17 lines
499 B
HTML

{{ partial "head.html" . }}
{{ partial "header.html" . }}
{{ if .Params.listing }}
{{ range .Site.Taxonomies.groups.uudised.Pages }}
<article class="post">
<h3><a href='{{ .Permalink }}'>{{ .Title }}</a> </h3>
<div class="post-meta">{{ .Date.Format "Mon, Jan 2, 2006" }} - {{ .FuzzyWordCount }} sõna</div>
{{ .Summary }}
<a href='{{ .Permalink }}'><nobr>loe edasi →</nobr></a>
</article>
{{ end }}
{{ else }}
{{ .Content }}
{{ end }}
{{ partial "footer.html" . }}