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