16 lines
477 B
HTML
16 lines
477 B
HTML
{{ $pag := $.Paginator }}
|
|
|
|
<nav class="paging" role="navigation">
|
|
<div class="paging__button is-next">
|
|
{{ if $pag.HasPrev }}
|
|
<a class="paging__link" href="{{ $pag.Prev.URL }}">← 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 →</a>
|
|
{{ end }}
|
|
</div>
|
|
</nav>
|