shithub: hugo

ref: f66302ca0579171ffd1730eb8f33dd05af3d9a00
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" . }}