diff options
author | HombreLaser <sebastian-440@live.com> | 2024-02-25 22:35:49 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2024-02-25 22:35:49 -0600 |
commit | adb6f7e9e73716e58529d96540f204e5e0825179 (patch) | |
tree | 3af590f566b58e437e17b18260e49b0f4d7fe07b /templates/comments/index.jinja | |
parent | a15ebd2f300cfc6a0b26c94cb1b2a01f672718e9 (diff) |
Add pagination macro
Diffstat (limited to 'templates/comments/index.jinja')
-rw-r--r-- | templates/comments/index.jinja | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/comments/index.jinja b/templates/comments/index.jinja index 4f082bd..217ddb3 100644 --- a/templates/comments/index.jinja +++ b/templates/comments/index.jinja @@ -1,3 +1,5 @@ +{% import 'macros/pagination.jinja' as pagination %} + <div id="comment-section" class="comment-section"> {% for comment in page.items %} <div id="comment-{{comment.id}}" class="comment"> @@ -26,4 +28,5 @@ </section> </div> {% endfor %} + {{ pagination.render_pagination(page, 'comments.index') }} </div> |