summaryrefslogtreecommitdiffstats
path: root/templates/activities/local.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/activities/local.html')
-rw-r--r--templates/activities/local.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/activities/local.html b/templates/activities/local.html
index 79ce9a3..b6f246e 100644
--- a/templates/activities/local.html
+++ b/templates/activities/local.html
@@ -3,9 +3,13 @@
{% block title %}Local Timeline{% endblock %}
{% block content %}
- {% for post in posts %}
+ {% for post in page_obj %}
{% include "activities/_post.html" %}
{% empty %}
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 %}
{% endblock %}