|
|
|
@ -13,23 +13,23 @@
|
|
|
|
|
<ul class="pagination">
|
|
|
|
|
{{ with $page.Paginator }}
|
|
|
|
|
<li class="page-item {{ if eq .PageNumber .First.PageNumber }} disabled {{ end }}">
|
|
|
|
|
<a aria-label="{{ i18n `paige_first` }}" class="page-link" href="{{ .First.URL }}"><span aria-hidden="true">⬅</span></a>
|
|
|
|
|
<a aria-label="{{ i18n `paige_first` }}" class="page-link" href="{{ .First.URL }}"><span aria-hidden="true">«</span></a>
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<li class="page-item {{ if not .Prev }} disabled {{ end }}">
|
|
|
|
|
<a {{ if .Prev }} aria-label="{{ i18n `paige_previous` }}" {{ end }} class="page-link" {{ with .Prev }} href="{{ .URL }}" {{ end }}>
|
|
|
|
|
<span aria-hidden="true">←</span>
|
|
|
|
|
<span aria-hidden="true">‹</span>
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<li class="page-item {{ if not .Next }} disabled {{ end }}">
|
|
|
|
|
<a {{ if .Next }} aria-label="{{ i18n `paige_next` }}" {{ end }} class="page-link" {{ with .Next }} href="{{ .URL }}" {{ end }}>
|
|
|
|
|
<span aria-hidden="true">→</span>
|
|
|
|
|
<span aria-hidden="true">›</span>
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<li class="page-item {{ if eq .PageNumber .Last.PageNumber }} disabled {{ end }}">
|
|
|
|
|
<a aria-label="{{ i18n `paige_last` }}" class="page-link" href="{{ .Last.URL }}"><span aria-hidden="true">➡</span></a>
|
|
|
|
|
<a aria-label="{{ i18n `paige_last` }}" class="page-link" href="{{ .Last.URL }}"><span aria-hidden="true">»</span></a>
|
|
|
|
|
</li>
|
|
|
|
|
{{ end }}
|
|
|
|
|
</ul>
|
|
|
|
|