websites_sum7-eu/layouts/partials/pagination.html

10 lines
371 B
HTML
Raw Normal View History

2018-08-31 01:18:19 +02:00
<nav id="nav-below" class="navigation" role="navigation">
{{if .HasNext}}<div class="older">
<a href="{{ .Next.URL }}">&laquo; Older Posts</a>
</div>{{end}}
{{if .HasPrev}}<div class="newer">
<a href="{{ .Prev.URL }}">Newer Posts &raquo;</a>
</div>{{end}}
<div class="clearfix"></div>
<div class="pagination">Page {{ .PageNumber }} of {{.TotalPages}}</div>
</nav>