miniflux/template/html/common/entry_pagination.html

19 lines
684 B
HTML
Raw Normal View History

2017-11-20 06:10:04 +01:00
{{ define "entry_pagination" }}
<div class="pagination">
<div class="pagination-prev">
{{ if .prevEntry }}
2018-07-05 07:05:19 +02:00
<a href="{{ .prevEntryRoute }}{{ if .searchQuery }}?q={{ .searchQuery }}{{ end }}" title="{{ .prevEntry.Title }}" data-page="previous">{{ t "Previous" }}</a>
2017-11-20 06:10:04 +01:00
{{ else }}
{{ t "Previous" }}
{{ end }}
</div>
<div class="pagination-next">
{{ if .nextEntry }}
2018-07-05 07:05:19 +02:00
<a href="{{ .nextEntryRoute }}{{ if .searchQuery }}?q={{ .searchQuery }}{{ end }}" title="{{ .nextEntry.Title }}" data-page="next">{{ t "Next" }}</a>
2017-11-20 06:10:04 +01:00
{{ else }}
{{ t "Next" }}
{{ end }}
</div>
</div>
{{ end }}