shithub: hugo

ref: 63bbb40dfb2813a12f7178edb82bc2d270ae70c1
dir: /examples/multilingual/layouts/news/single.html/

View raw version
{{ partial "head.html" . }}
{{ partial "header.html" . }}

{{ if .Params.listing }}
	{{ range .Site.Taxonomies.groups.news.Pages }}
	<article class="post">
		<h3><a href='{{ .Permalink }}'>{{ .Title }}</a> </h3>
		<div class="post-meta">{{ .Date.Format "Mon, Jan 2, 2006" }} - {{ .FuzzyWordCount }} Words</div>
		{{ .Summary }}
		<a href='{{ .Permalink }}'><nobr>read more →</nobr></a>
	</article>
	{{ end }}
{{ else }}
	{{ .Content }}
{{ end }}

{{ partial "footer.html" . }}