2020-05-15 02:01:28 +08:00
|
|
|
{{ with $.Paginator }}
|
|
|
|
{{ if gt .TotalPages 1 }}
|
|
|
|
<ul class="pagination">
|
|
|
|
{{ with .Prev }}
|
|
|
|
<li class="page-item">
|
2021-12-29 07:53:08 +08:00
|
|
|
<a class="page-link" href="{{ .Permalink }}">
|
2020-05-15 02:01:28 +08:00
|
|
|
<i class="fas fa-chevron-left"></i>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{ else }}
|
|
|
|
<li class="page-item">
|
|
|
|
<a class="grayed-out" href="javascript:void()">
|
|
|
|
<i class="fas fa-chevron-left"></i>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
{{ with .Next }}
|
|
|
|
<li class="page-item">
|
2021-12-29 07:53:08 +08:00
|
|
|
<a class="page-link" href="{{ .Permalink }}">
|
2020-05-15 02:01:28 +08:00
|
|
|
<i class="fas fa-chevron-right"></i>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{ else }}
|
|
|
|
<li class="page-item">
|
|
|
|
<a class="grayed-out" href="javascript:void()">
|
|
|
|
<i class="fas fa-chevron-right"></i>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|