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

{{ $paginator := .Paginator }}
{{ if gt $paginator.TotalPages 1 }}
<ul class="pagination">
<li class="pagination__item pagination__item--previous">
{{ if $paginator.HasPrev }}<a href="{{ $paginator.Prev.URL }}" class="pagination__link pagination__link--previous">{{end}}NEWER{{ if $paginator.HasPrev }}</a>{{end}}
</li>
<li>{{ $paginator.PageNumber }} of {{ $paginator.TotalPages }}</li>
<li class="pagination__item pagination__item--next">
{{ if $paginator.HasNext }}<a href="{{ $paginator.Next.URL }}" class="pagination__link pagination__link--next">{{end}}OLDER{{ if $paginator.HasNext }}</a>{{end}}
</li>
</ul>
{{ end }}