shithub: hugo

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