diff options
| author | somhairle <[email protected]> | 2026-04-21 20:40:27 +0800 |
|---|---|---|
| committer | Somhairle H. Marisol <[email protected]> | 2026-05-24 17:24:57 +0800 |
| commit | ad8f9f55ea79a4d587aecc69698808da82de3d62 (patch) | |
| tree | d25c0db712e6f015d850627ff957edea44c64f94 /themes/theme/layout/partials/paginator.ejs | |
| download | blog-ad8f9f55ea79a4d587aecc69698808da82de3d62.tar.gz | |
二〇二六年四月二十一日
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 |
