I’m using:
<main>
<div id="main" class="container regular">
{{ range first 2 .Pages }}
{{ partial "summary.html" . }}
{{ end }}
{{ template "_internal/pagination.html" . }}
{{ range .Paginator.Pages }}
{{ .Title }}
{{ end }}
</div>
</main>
And the paginator shows every page! As I understand, it should just show the pages that are not visible right now on the site.
As it is, if I limit my range pages to say, 10, and I have 20 pages, instead of showing the latest 10 and the paginator link to the page that came before the last one at the end, it shows me all 20 pages ;(
HALP!