summaryrefslogtreecommitdiff
path: root/templates/comments/index.jinja
diff options
context:
space:
mode:
Diffstat (limited to 'templates/comments/index.jinja')
-rw-r--r--templates/comments/index.jinja3
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>