mirror of
https://github.com/Vimux/Binario.git
synced 2024-11-24 23:18:33 +00:00
Delete prev and next pagination links
This commit is contained in:
parent
0ffed428af
commit
e84efd8613
1 changed files with 0 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
|||
{{- $pag := $.Paginator }}
|
||||
{{- if gt $pag.TotalPages 1 }}
|
||||
<div class="pagination block">
|
||||
{{- if not $pag.HasPrev }}{{ else}}<a class="pagination__item pagination__item-link" href="{{ if $pag.HasPrev }}{{ $pag.Prev.URL }}{{ end }}">❰</a>{{- end }}
|
||||
{{- $.Scratch.Set "__paginator.ellipsed" false }}
|
||||
{{- range $pag.Pagers }}
|
||||
{{- $right := sub .TotalPages .PageNumber }}
|
||||
|
@ -20,6 +19,5 @@
|
|||
<span class="pagination__item pagination__item--gap">…</span>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if not $pag.HasNext }}{{ else }}<a class="pagination__item" href="{{ if $pag.HasNext }}{{ $pag.Next.URL }}{{ end }}">❱</a>{{ end }}
|
||||
</div>
|
||||
{{- end }}
|
Loading…
Reference in a new issue