2015-03-26 11:28:08 +00:00
|
|
|
{{ partial "header.html" . }}
|
|
|
|
|
|
|
|
<section class="posts">
|
2015-06-10 22:46:38 +00:00
|
|
|
{{ range first 10 (where .Data.Pages "Section" "posts") }}
|
2015-03-26 11:28:08 +00:00
|
|
|
<article id="{{ .Slug }}" class="teaser-post">
|
|
|
|
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
|
2015-06-10 22:46:38 +00:00
|
|
|
<p class="meta">
|
2015-03-26 11:28:08 +00:00
|
|
|
<time class="date">{{ .Date.Format "2 January, 2006" }}</time>
|
2015-06-10 22:46:38 +00:00
|
|
|
• tagged {{ partial "post/tag/list" . }}
|
|
|
|
• {{ .WordCount }} words
|
|
|
|
• ~{{ .ReadingTime }} minutes
|
|
|
|
</p>
|
|
|
|
<p class="description">{{ .Description | safeHTML }}</p>
|
|
|
|
</article>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ range after 10 (where .Data.Pages "Section" "posts") }}
|
|
|
|
<article id="{{ .Slug }}" class="teaser-post">
|
|
|
|
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>
|
|
|
|
<p class="meta">
|
|
|
|
<time class="date">{{ .Date.Format "2 January, 2006" }}</time>
|
|
|
|
• tagged {{ partial "post/tag/list" . }}
|
|
|
|
• {{ .WordCount }} words
|
|
|
|
• ~{{ .ReadingTime }} minutes
|
|
|
|
</p>
|
2015-03-26 11:28:08 +00:00
|
|
|
</article>
|
|
|
|
{{ end }}
|
|
|
|
</section>
|
|
|
|
|
|
|
|
{{ partial "footer.html" . }}
|