diff --git a/bookwyrm/templates/feed/thread.html b/bookwyrm/templates/feed/thread.html index 793cddfc..b3b2f2db 100644 --- a/bookwyrm/templates/feed/thread.html +++ b/bookwyrm/templates/feed/thread.html @@ -1,5 +1,4 @@ {% load status_display %} -
{% with depth=depth|add:1 %} {% if depth <= max_depth and status.reply_parent and direction <= 0 %} @@ -8,7 +7,9 @@ {% endwith %} {% endif %} -{% include 'snippets/status/status.html' with status=status main=is_root %} + + {% include 'snippets/status/status.html' with status=status main=is_root %} +
{% if depth <= max_depth and direction >= 0 %} {% for reply in status|replies %} @@ -18,5 +19,3 @@ {% endfor %} {% endif %} {% endwith %} - -