{{- define "main" -}}
-{{ $paginator := .Paginate (where .Data.Pages.ByLastmod.Reverse "Section" .Section) 5 }}
+{{ $paginator := .Paginate (where .Data.Pages.ByLastmod.Reverse "Section" .Section) 12 }}
{{- if (gt (len (findRE "<h1" .Content)) 0) -}}
{{ replaceRE "(<h1.*</h1>)" "</article>\n$1\n<article>" .Content | strings.TrimLeft "\n " | strings.TrimPrefix "</article>" | replaceRE "\n" "\n " | safeHTML }}</article>
{{- else -}}
<img style="background-image: url({{ $secHead }})">
<div>{{ .GitInfo.AuthorDate.Format "January 2 2006" }}</div>
{{.Title}}
- <div>{{ truncate 80 .Summary }}</div>
+ <div>{{ truncate 100 .Summary }}</div>
</a><br>
{{- end }}
</div>