2018-11-24 15:14:43 +01:00
|
|
|
{{ define "main" }}
|
|
|
|
{{ $paginator := .Paginate (where .Pages "Params.hidden" "ne" true) }}
|
|
|
|
{{ range sort .Paginator.Pages }}
|
|
|
|
<article>
|
|
|
|
<h2>
|
|
|
|
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
|
|
|
</h2>
|
2018-11-25 13:30:25 +01:00
|
|
|
<h5>
|
|
|
|
<strong>{{ .Date.Format "January 2, 2006" }}</strong>
|
|
|
|
</h5>
|
2019-01-24 23:30:31 +01:00
|
|
|
<p class="markdown">
|
2018-11-25 13:30:25 +01:00
|
|
|
{{- .Summary -}}
|
2018-11-24 15:14:43 +01:00
|
|
|
{{ if .Truncated }}
|
2018-11-25 13:30:25 +01:00
|
|
|
<a href="{{ .Permalink }}">...</a>
|
2018-11-24 15:14:43 +01:00
|
|
|
{{ end }}
|
|
|
|
</p>
|
|
|
|
</article>
|
|
|
|
{{ end }}
|
|
|
|
{{ template "_internal/pagination.html" . }}
|
2018-11-25 13:30:25 +01:00
|
|
|
{{ end }}
|