blog/themes/fluid/layout/_partials/paginator.ejs

15 lines
473 B
Plaintext
Raw Normal View History

2024-11-16 11:34:10 +08:00
<% if (page.total > 1){ %>
<nav aria-label="navigation">
<span class="pagination" id="pagination">
<%- paginator({
prev_text: '<i class="iconfont icon-arrowleft"></i>',
next_text: '<i class="iconfont icon-arrowright"></i>',
mid_size: 2,
end_size: 1,
format: `${config.pagination_dir}/%d/${theme.scroll_down_arrow.scroll_after_turning_page ? '#board' : ''}`,
escape: false
}) %>
</span>
</nav>
<% } %>