Open mbana opened 6 years ago
I was able to update the pagination by adding an index.html
file in the layouts
folder:
{{ partial "header" . }}
<main>
<h1>Title</h1>
{{ range (.Paginator 20).Pages }} {{ partial "list-item" . }} {{ end }}
</main>
{{ partial "paginator" . }}
{{ partial "footer" . }}
In the example above, I changed 5 to 20.
https://github.com/calintat/minimal/blob/master/layouts/_default/terms.html
Looks like it defaults to 5. Would be nice to: