This repository has been archived on 2021-09-01. You can view files and clone it, but cannot push or open issues or pull requests.
theme-geeklab/layouts/partials/pagination.html

16 lines
477 B
HTML
Raw Normal View History

2018-10-09 06:25:05 +00:00
{{ $pag := $.Paginator }}
2018-10-13 00:08:36 +00:00
<nav class="paging" role="navigation">
<div class="paging__button is-next">
{{ if $pag.HasPrev }}
<a class="paging__link" href="{{ $pag.Prev.URL }}">&larr; Neuere</a>
{{ end }}
</div>
<div class="paging__state">Seite {{ $pag.PageNumber }} von {{ $pag.TotalPages }}</div>
<div class="paging__button is-prev">
{{ if $pag.HasNext }}
<a class="paging__link" href="{{ $pag.Next.URL }}">Ältere &rarr;</a>
{{ end }}
</div>
2018-10-09 06:25:05 +00:00
</nav>