summaryrefslogtreecommitdiffstats
path: root/examples/multilingual/layouts/news/single.html
blob: beb811cc20a8be50b0d16a01bf59676d1d6bfdca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{{ 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" . }}