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