diff options
author | Andrew Godwin | 2022-11-22 18:39:15 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-22 18:39:15 -0700 |
commit | 47de2c4424ae257917721652578c034f0216fd9b (patch) | |
tree | 698cee5ff9a9aaa8c8db534ce0fa44e2700abe96 /templates/identity/view.html | |
parent | 05ed5989e3436108f9a7bd443b0f79b7ee407f26 (diff) | |
download | takahe-47de2c4424ae257917721652578c034f0216fd9b.tar.gz takahe-47de2c4424ae257917721652578c034f0216fd9b.tar.bz2 takahe-47de2c4424ae257917721652578c034f0216fd9b.zip |
Fix profile page post listing
Diffstat (limited to 'templates/identity/view.html')
-rw-r--r-- | templates/identity/view.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/identity/view.html b/templates/identity/view.html index bf60c2e..f69ce9a 100644 --- a/templates/identity/view.html +++ b/templates/identity/view.html @@ -56,9 +56,13 @@ {% endif %} {% endif %} - {% for post in posts %} + {% for post in page_obj %} {% include "activities/_post.html" %} {% empty %} <span class="empty">No posts yet.</a> {% 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 %} |