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