Renamed the is_needed property to is_paged in the Pagination utility.

This commit is contained in:
2023-02-04 10:26:28 +08:00
parent 511328a0bd
commit 8be44ccf5f
3 changed files with 12 additions and 12 deletions

View File

@ -19,7 +19,7 @@ pagination.html: The pagination navigation bar.
Author: imacat@mail.imacat.idv.tw (imacat)
First written: 2023/1/26
#}
{% if pagination.is_needed %}
{% if pagination.is_paged %}
<nav aria-label="Page navigation">
<ul class="pagination">
{% for link in pagination.page_links %}