shithub: hugo

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