2015-03-26 11:28:08 +00:00
|
|
|
{{ partial "header.html" . }}
|
|
|
|
|
2016-08-24 11:12:08 +00:00
|
|
|
<div id="posts">
|
2016-02-16 20:42:17 +00:00
|
|
|
{{ range first 10 (where .Data.Pages "Section" "posts") }}
|
2016-08-24 11:03:32 +00:00
|
|
|
<article id="{{ .Slug }}">
|
|
|
|
<h2><a href="{{ .Permalink }}">{{ .Title }}</a> <time class="date" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2006-01-02" }}</time></h2>
|
|
|
|
<p>
|
2016-08-22 11:02:47 +00:00
|
|
|
{{ .Description | safeHTML }}
|
|
|
|
</p>
|
2016-02-16 20:42:17 +00:00
|
|
|
</article>
|
2015-03-26 11:28:08 +00:00
|
|
|
{{ end }}
|
2016-01-06 14:44:01 +00:00
|
|
|
|
2016-08-24 11:15:37 +00:00
|
|
|
<h2>Older posts</h2>
|
2016-08-24 11:03:32 +00:00
|
|
|
<p>
|
|
|
|
Below you will find older posts. Use <kbd><kbd>ctrl</kbd> + <kbd>f</kbd></kbd>
|
|
|
|
or <kbd><kbd>⌘</kbd> + <kbd>f</kbd></kbd> to search.
|
|
|
|
</p>
|
|
|
|
<ul>
|
2016-02-16 20:42:17 +00:00
|
|
|
{{ range after 10 (where .Data.Pages "Section" "posts") }}
|
2016-08-24 11:03:32 +00:00
|
|
|
<li id="{{ .Slug }}" class="headline">
|
2016-08-22 11:02:47 +00:00
|
|
|
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>
|
2016-08-24 11:03:32 +00:00
|
|
|
</li>
|
2016-02-16 20:42:17 +00:00
|
|
|
{{ end }}
|
2016-08-24 11:03:32 +00:00
|
|
|
</ul>
|
2016-08-24 11:12:08 +00:00
|
|
|
</div>
|
2015-03-26 11:28:08 +00:00
|
|
|
|
|
|
|
{{ partial "footer.html" . }}
|