revuoxmrtheme/layouts/partials/pagination.html
2024-07-02 15:03:13 -07:00

11 lines
No EOL
347 B
HTML

<div class="pagination">
{{ if .Paginator.HasPrev }}
<a href="{{ .Paginator.Prev.URL }}" class="page-item prev">«</a>
{{ end }}
<p class="page-numbers-display">{{ .Paginator.PageNumber }} of {{ .Paginator.TotalPages }}</p>
{{ if .Paginator.HasNext }}
<a href="{{ .Paginator.Next.URL }}" class="page-item next">»</a>
{{ end }}
</div>