source:
tanzpartie-hugo/themes/bilberry-hugo-theme/layouts/partials/paginator.html
| Last change on this file was 16971, checked in by , 4 years ago | |
|---|---|
| File size: 455 bytes | |
| Line | |
|---|---|
| 1 | {{ if ne .Paginator.TotalPages 0 }} |
| 2 | <div class="paginator"> |
| 3 | {{ if .Paginator.HasNext }} |
| 4 | <a href="{{ .Paginator.Next.URL }}" class="older"><i class="fa fa-angle-double-left"></i> {{ i18n "olderPosts" }}</a> |
| 5 | {{ end }} |
| 6 | |
| 7 | {{ if .Paginator.HasPrev }} |
| 8 | <a href="{{ .Paginator.Prev.URL }}" class="newer">{{ i18n "newerPosts" }} <i class="fa fa-angle-double-right"></i></a> |
| 9 | {{ end }} |
| 10 | </div> |
| 11 | {{ end }} |
Note: See TracBrowser for help on using the repository browser.
