~gg/blog-theme

ref: e58dcc41038b5c49bb129503bb28c1c0c5745b75 blog-theme/layouts/partials/pagination.html -rw-r--r-- 284 bytes
e58dcc41 — Gui Goncalves Add color scheme, noscript partial 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
<div class="paginator">
  {{ 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>