blob: 9b143c0db9a22fe4fb077fd5ad11248513a1983b (
plain)
1
2
3
4
5
6
7
8
|
{{ define "main" }}
<!-- 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" . }}
{{ end }}
|