2015-03-26 11:28:08 +00:00
|
|
|
{{ partial "header.html" . }}
|
|
|
|
|
2016-08-24 11:12:08 +00:00
|
|
|
<div id="posts">
|
2017-03-08 12:50:16 +00:00
|
|
|
{{ range first 20 (where .Data.Pages "Section" "posts") }}
|
|
|
|
<article id="{{ .Slug }}">
|
|
|
|
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
|
|
|
|
<p>
|
|
|
|
<time class="date" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2 January 2006" }}</time>
|
|
|
|
—
|
|
|
|
{{ .Description | safeHTML }}</p>
|
|
|
|
</article>
|
2015-03-26 11:28:08 +00:00
|
|
|
{{ end }}
|
2016-01-06 14:44:01 +00:00
|
|
|
|
2017-03-08 12:50:16 +00:00
|
|
|
{{ range after 20 (where .Data.Pages "Section" "posts") }}
|
|
|
|
<article id="{{ .Slug }}">
|
|
|
|
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>
|
|
|
|
<p><time class="date" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2 January 2006" }}</time></p>
|
|
|
|
</article>
|
2016-02-16 20:42:17 +00:00
|
|
|
{{ end }}
|
2016-08-24 11:12:08 +00:00
|
|
|
</div>
|
2015-03-26 11:28:08 +00:00
|
|
|
|
|
|
|
{{ partial "footer.html" . }}
|