From 6f4ac82a686f04d6396531813dadf92759986c1b Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 7 Apr 2024 07:48:13 +0200 Subject: [PATCH] embeds should be above text --- files/templates/post_listing.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/files/templates/post_listing.html b/files/templates/post_listing.html index 5e1b9bf74..0f9493c12 100644 --- a/files/templates/post_listing.html +++ b/files/templates/post_listing.html @@ -199,15 +199,6 @@ {% endif %} {% if not v_forbid_deleted %} - {% if p.realbody(v) or (p.embed and p.domain == "twitter.com") %} -
- {% if p.domain == "twitter.com" %} - {{p.embed | safe}} - {% endif %} - {{p.realbody(v) | safe}} -
- {% endif %} - {% if p.is_video %}

@@ -223,6 +214,15 @@ {{p.embed | safe}}

{% endif %} + + {% if p.realbody(v) or (p.embed and p.domain == "twitter.com") %} +
+ {% if p.domain == "twitter.com" %} + {{p.embed | safe}} + {% endif %} + {{p.realbody(v) | safe}} +
+ {% endif %} {% endif %} {% else %}