summaryrefslogtreecommitdiffstats
path: root/templates/activities/tag.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/activities/tag.html')
-rw-r--r--templates/activities/tag.html12
1 files changed, 9 insertions, 3 deletions
diff --git a/templates/activities/tag.html b/templates/activities/tag.html
index a319b6a..f0684f0 100644
--- a/templates/activities/tag.html
+++ b/templates/activities/tag.html
@@ -10,7 +10,13 @@
No posts yet.
{% endfor %}
- {% if page_obj.has_next %}
- <div class="load-more"><a class="button" href=".?page={{ page_obj.next_page_number }}">Next Page</a></div>
- {% endif %}
+ <div class="pagination">
+ {% if page_obj.has_previous %}
+ <div class="load-more"><a class="button" href=".?page={{ page_obj.previous_page_number }}">Previous Page</a></div>
+ {% endif %}
+
+ {% if page_obj.has_next %}
+ <div class="load-more"><a class="button" href=".?page={{ page_obj.next_page_number }}">Next Page</a></div>
+ {% endif %}
+ </div>
{% endblock %}