<div class="paginator"> <div class="list"> {{ $paginator := .Paginate .RegularPages (or .Params.pagination.pagerSize 10)}} {{ range $paginator.Pages }} <article class="page"> <p> {{.Date.Format "2006-01-02"}}: <a href="{{.Permalink}}">{{.Title}}</a><br> <span>{{.Summary}}</span> </p> </article> {{ end }} </div> <!-- Hugo's default pagination template. --> {{ template "_internal/pagination.html" . }} </div>