2018-11-24 15:14:43 +01:00
|
|
|
{{ define "main" }}
|
2019-04-22 19:17:39 +02:00
|
|
|
{{ $dateFormat := default "January 2, 2006" .Site.Params.BookDateFormat }}
|
2018-11-24 15:14:43 +01:00
|
|
|
{{ $paginator := .Paginate (where .Pages "Params.hidden" "ne" true) }}
|
|
|
|
{{ range sort .Paginator.Pages }}
|
2019-04-22 19:17:39 +02:00
|
|
|
<article class="markdown">
|
2018-11-24 15:14:43 +01:00
|
|
|
<h2>
|
2019-02-20 10:37:48 +01:00
|
|
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
2018-11-24 15:14:43 +01:00
|
|
|
</h2>
|
2018-11-25 13:30:25 +01:00
|
|
|
<h5>
|
2019-03-29 16:59:00 +01:00
|
|
|
<strong>{{ .Date.Format $dateFormat }}</strong>
|
2018-11-25 13:30:25 +01:00
|
|
|
</h5>
|
2019-04-22 19:17:39 +02:00
|
|
|
<p>
|
2018-11-25 13:30:25 +01:00
|
|
|
{{- .Summary -}}
|
2018-11-24 15:14:43 +01:00
|
|
|
{{ if .Truncated }}
|
2019-02-20 10:37:48 +01:00
|
|
|
<a href="{{ .RelPermalink }}">...</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 }}
|