jk.nipponalba.scot website https://jk.nipponalba.scot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

17 lines
659 B

  1. {{ $paginator := .Paginator }}
  2. {{ if gt $paginator.TotalPages 1 }}
  3. <ul class="pagination">
  4. <li class="pagination__item pagination__item--previous">
  5. {{ if $paginator.HasPrev }}<a href="{{ $paginator.Prev.URL }}" class="pagination__link pagination__link--previous">{{end}}
  6. PREVIOUS
  7. {{ if $paginator.HasPrev }}</a>{{end}}
  8. </li>
  9. <li>Page {{ $paginator.PageNumber }} of {{ $paginator.TotalPages }}</li>
  10. <li class="pagination__item pagination__item--next">
  11. {{ if $paginator.HasNext }}<a href="{{ $paginator.Next.URL }}" class="pagination__link pagination__link--next">{{end}}
  12. NEXT
  13. {{ if $paginator.HasNext }}</a>{{end}}
  14. </li>
  15. </ul>
  16. {{ end }}