|
|
@ -14,25 +14,25 @@
|
|
|
|
{{ with $page.Paginator }}
|
|
|
|
{{ with $page.Paginator }}
|
|
|
|
{{ if and (ne .PageNumber .First.PageNumber) (ne .First.PageNumber .Prev.PageNumber) }}
|
|
|
|
{{ if and (ne .PageNumber .First.PageNumber) (ne .First.PageNumber .Prev.PageNumber) }}
|
|
|
|
<li class="page-item">
|
|
|
|
<li class="page-item">
|
|
|
|
<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>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
|
|
|
{{ with .Prev }}
|
|
|
|
{{ with .Prev }}
|
|
|
|
<li class="page-item">
|
|
|
|
<li class="page-item">
|
|
|
|
<a aria-label="{{ i18n `paige_previous` }}" class="page-link" href="{{ .URL }}"><span aria-hidden="true">‹</span></a>
|
|
|
|
<a aria-label="{{ i18n `paige_previous` }}" class="page-link" href="{{ .URL }}"><span aria-hidden="true">←</span></a>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
|
|
|
{{ with .Next }}
|
|
|
|
{{ with .Next }}
|
|
|
|
<li class="page-item">
|
|
|
|
<li class="page-item">
|
|
|
|
<a aria-label="{{ i18n `paige_next` }}" class="page-link" href="{{ .URL }}"><span aria-hidden="true">›</span></a>
|
|
|
|
<a aria-label="{{ i18n `paige_next` }}" class="page-link" href="{{ .URL }}"><span aria-hidden="true">→</span></a>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
|
|
|
{{ if and (ne .PageNumber .Last.PageNumber) (ne .Last.PageNumber .Next.PageNumber) }}
|
|
|
|
{{ if and (ne .PageNumber .Last.PageNumber) (ne .Last.PageNumber .Next.PageNumber) }}
|
|
|
|
<li class="page-item">
|
|
|
|
<li class="page-item">
|
|
|
|
<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>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|