blob: 30c38ae536731a84d9b6c87b0403ed3e41903f28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
{{ define "main" }}
<div id="content" class="bg-near-white pb2">
<!-- Note that .Data.Pages is the equivalent of .Site.Pages on the homepage template. -->
{{ $paginator := .Paginate (where .Data.Pages "Section" "post") }}
{{ range $paginator.Pages }}
{{ .Render "summary" }}
{{ end }}
{{ partial "pagination.html" . }}
</div>
{{ end }}
|