From ddb3436275d3f02183f515c38cd3193cd1dfe2f4 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sun, 13 Nov 2022 18:42:47 -0700 Subject: Boosting! Incoming, anyway. --- templates/activities/home.html | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'templates/activities/home.html') diff --git a/templates/activities/home.html b/templates/activities/home.html index c777ce8..2cdaaea 100644 --- a/templates/activities/home.html +++ b/templates/activities/home.html @@ -8,10 +8,19 @@
- {% for post in timeline_posts %} - {% include "activities/_post.html" %} + {% for event in events %} + {% if event.type == "post" %} + {% include "activities/_post.html" with post=event.subject_post %} + {% elif event.type == "boost" %} + + {% include "activities/_post.html" with post=event.subject_post %} + {% endif %} {% empty %} - No posts yet. + Nothing to show yet. {% endfor %}
-- cgit v1.2.3