citra-web/site/themes/citra-bs-theme/layouts/partials/pagination.html

22 lines
553 B
HTML
Raw Normal View History

2017-02-26 22:24:53 +01:00
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
<nav aria-label="...">
<ul class="pager">
{{ if .Paginator.HasPrev }}
<li class="previous">
<a rel="previous" href="{{.Paginator.Prev.URL | absURL}}"><span aria-hidden="true">&larr;</span> Previous</a>
</li>
{{ end }}
{{ if .Paginator.HasNext }}
<li class="next">
<a rel="next" href="{{.Paginator.Next.URL | absURL}}"><span aria-hidden="true">&rarr;</span> Next</a>
</li>
{{ end }}
</ul>
</nav>
{{ end }}