mirror of
https://github.com/fruworg/themu.git
synced 2025-01-18 17:00:52 +03:00
0ff0b4fd3f
On branch master Your branch is up to date with 'origin/master'. Changes to be committed: modified: layouts/index.html modified: layouts/partials/footer.html modified: layouts/partials/paginator.html
16 lines
562 B
HTML
16 lines
562 B
HTML
{{ $pag := $.Paginator }}
|
|
{{ if gt $pag.TotalPages 1 }}
|
|
<ul class="pagination">
|
|
<span class="page-item page-prev">
|
|
{{ if $pag.HasPrev }}
|
|
<a {{ if $pag.HasPrev }}href="{{ $pag.Prev.URL }}"{{ end }} class="page-link" aria-label="Previous"><span aria-hidden="true">← Назад</span></a>
|
|
{{ end }}
|
|
</span>
|
|
<span class="page-item page-next">
|
|
{{ if $pag.HasNext }}
|
|
<a {{ if $pag.HasNext }}href="{{ $pag.Next.URL }}"{{ end }} class="page-link" aria-label="Next"><span aria-hidden="true">Вперёд →</span></a>
|
|
{{ end }}
|
|
</span>
|
|
</ul>
|
|
{{ end }}
|