jeremykidwell.info/layouts/partials/paging.html

27 lines
633 B
HTML
Raw Normal View History

2017-06-26 19:57:02 +00:00
<div class="wrapper">
<div class="units-row">
<div class="unit-centered unit-40">
<ul class="pagination">
{{ if .Paginator.HasNext }}
<li><a href="{{.Paginator.Next.URL}}">
« Older&nbsp;
</a>
</li>
{{ end }}
<li><span>Page {{.Paginator.PageNumber}} of {{.Paginator.TotalPages}}</span></li>
{{ if .Paginator.HasPrev }}
<li>
<a href="{{.Paginator.Prev.URL}}">
&nbsp;Newer »
</a>
</li>
{{ end }}
</ul>
{{ partial "allcats.html" . }}
</div>
</div>
</div>