mirror of
https://github.com/miniflux/v2.git
synced 2024-09-10 13:20:08 +02:00
20 lines
829 B
HTML
20 lines
829 B
HTML
{{ define "entry_pagination" }}
|
|
<div class="pagination">
|
|
<div class="pagination-prev {{ if not .prevEntry }}disabled{{end}}">
|
|
{{ if .prevEntry }}
|
|
<a href="{{ .prevEntryRoute }}{{ if .searchQuery }}?q={{ .searchQuery }}{{ end }}" title="{{ .prevEntry.Title }}" data-page="previous" rel="prev">{{ t "pagination.previous" }}</a>
|
|
{{ else }}
|
|
{{ t "pagination.previous" }}
|
|
{{ end }}
|
|
</div>
|
|
|
|
<div class="pagination-next {{ if not .nextEntry }}disabled{{end}}">
|
|
{{ if .nextEntry }}
|
|
<a href="{{ .nextEntryRoute }}{{ if .searchQuery }}?q={{ .searchQuery }}{{ end }}" title="{{ .nextEntry.Title }}" data-page="next" rel="next">{{ t "pagination.next" }}</a>
|
|
{{ else }}
|
|
{{ t "pagination.next" }}
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
{{ end }}
|