arbejdsfaellesskab.dk/hugo_site/themes/tranetheme/layouts/partials/pagination.html

9 lines
253 B
HTML
Raw Normal View History

2019-04-30 14:39:24 +00: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>