websites_sum7-eu/layouts/partials/pagination.html

11 lines
390 B
HTML
Raw Permalink Normal View History

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