From 565c9dfa72496d561486a6388de02fb77cb6aa5f Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Fri, 1 Oct 2021 14:12:34 -0700 Subject: [PATCH] Removes block div from thread markup --- bookwyrm/templates/feed/thread.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bookwyrm/templates/feed/thread.html b/bookwyrm/templates/feed/thread.html index 793cddfcd..b3b2f2dbc 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 %} - -