{{ define "top" }} {{ partial "jumbotron" }} {{ end }} {{ define "main" }} {{ $paginator := .Paginate (where .Data.Pages "Section" "entry") 3 }} {{ range $paginator.Pages }} {{ .Render "summary" }} {{ end }} {{ partial "pagination" . }} {{ end }} {{ define "scripts" }} {{ end }}