diff options
Diffstat (limited to 'themes/theme/layout/partials/paginator.ejs')
| -rw-r--r-- | themes/theme/layout/partials/paginator.ejs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/themes/theme/layout/partials/paginator.ejs b/themes/theme/layout/partials/paginator.ejs new file mode 100644 index 00000000..41c26391 --- /dev/null +++ b/themes/theme/layout/partials/paginator.ejs @@ -0,0 +1,14 @@ +<% if (page.total > 1){ %> + <div class=paginator> + <div class="h-line-primary"></div> + <nav class="pagination"> + <%- paginator({ + // prev_text: "« Prev", + // next_text: "Next »" + prev_next: false, + end_size: 1, + mid_size: 1, + }) %> + </nav> + </div> +<% } %>
\ No newline at end of file |
