Erster Entwurf
This commit is contained in:
commit
b5d27b3fc9
66 changed files with 11671 additions and 0 deletions
11
themes/mainroad/layouts/partials/pagination.html
Normal file
11
themes/mainroad/layouts/partials/pagination.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
|
||||
<div class="pagination">
|
||||
{{- if .Paginator.HasPrev }}
|
||||
<a class="pagination__item pagination__item--prev btn" href="{{ .Paginator.Prev.URL }}">«</a>
|
||||
{{- end }}
|
||||
<span class="pagination__item pagination__item--current">{{ .Paginator.PageNumber }}/{{ .Paginator.TotalPages }}</span>
|
||||
{{- if .Paginator.HasNext }}
|
||||
<a class="pagination__item pagination__item--next btn" href="{{ .Paginator.Next.URL }}">»</a>
|
||||
{{- end }}
|
||||
</div>
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue