revuoxmrtheme/layouts/partials/pagination.html

11 lines
347 B
HTML
Raw Permalink Normal View History

2024-07-02 22:03:13 +00:00
<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>