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