hugo-theme-zirakzigil/layouts/partials/pagination.html

10 lines
254 B
HTML
Raw Normal View History

2023-02-20 22:37:42 -05:00
<div>
{{ if .Paginator.HasPrev }}
<a href="{{ .Paginator.Prev.URL }}">Previous Page</a>
{{ end }}
{{ .Paginator.PageNumber }} of {{ .Paginator.TotalPages }}
{{ if .Paginator.HasNext }}
<a href="{{ .Paginator.Next.URL }}">Next Page</a>
{{ end }}
</div>