summaryrefslogtreecommitdiffstats
path: root/themes/Brine/layouts/partials/pagination.html
blob: 1dc364883ee758345b92be7b5f37533bc4e41d95 (plain) (blame)
1
2
3
4
5
{{ with $.Paginator }}{{ if gt .TotalPages 1 }}	<p class="pagination">
		{{ with .Prev }}<a class="page-link" href="{{ .URL }}">Previous</a></li>
		{{ end }}{{ range .Pagers }}<a class="page-link{{ if eq .PageNumber $.Paginator.PageNumber }} a{{ end }}" href="{{ .URL }}">{{ .PageNumber }}</a>
		{{ end }}{{ with .Next }}<a class="page-link" href="{{ .URL }}">Next</a>{{ end }}
	</p>{{ end }}{{ end }}