This repository has been archived on 2020-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
2019-09-03 15:50:00 +00:00
|
|
|
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
|
|
|
|
<div class="pagination">
|
|
|
|
{{- with .Paginator.Prev }}
|
2020-05-09 09:07:37 +00:00
|
|
|
<a class="pagination-item" href="{{ .URL }}">{{ .PageNumber }}</a>
|
2019-09-03 15:50:00 +00:00
|
|
|
{{- end }}
|
2020-05-09 09:07:37 +00:00
|
|
|
<span class="pagination-item current">{{ .Paginator.PageNumber }}/{{ .Paginator.TotalPages }}</span>
|
2019-09-03 15:50:00 +00:00
|
|
|
{{- with .Paginator.Next }}
|
2020-05-09 09:07:37 +00:00
|
|
|
<a class="pagination-item" href="{{ .URL }}">{{ .PageNumber }}</a>
|
2019-09-03 15:50:00 +00:00
|
|
|
{{- end }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|