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.

13 lines
634 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}}OLDER{{ if $paginator.HasPrev }}</a>{{end}}
  6. </li>
  7. <li>{{ $paginator.PageNumber }} of {{ $paginator.TotalPages }}</li>
  8. <li class="pagination__item pagination__item--next">
  9. {{ if $paginator.HasNext }}<a href="{{ $paginator.Next.URL }}" class="pagination__link pagination__link--next">{{end}}NEWER{{ if $paginator.HasNext }}</a>{{end}}
  10. </li>
  11. </ul>
  12. {{ end }}