forked from MarseyWorld/MarseyWorld
embeds should be above text
parent
c4c141e8c0
commit
6f4ac82a68
|
@ -199,15 +199,6 @@
|
|||
{% endif %}
|
||||
|
||||
{% if not v_forbid_deleted %}
|
||||
{% if p.realbody(v) or (p.embed and p.domain == "twitter.com") %}
|
||||
<div class="{% if p.chudded %}text-uppercase chud-img chud-{{p.id_last_num}}{% endif %} d-none card rounded border post-preview" id="post-text-{{p.id}}">
|
||||
{% if p.domain == "twitter.com" %}
|
||||
{{p.embed | safe}}
|
||||
{% endif %}
|
||||
{{p.realbody(v) | safe}}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if p.is_video %}
|
||||
<div id="video-{{p.id}}" class="d-none ml-md-5 mt-md-4 mt-2 mx-sm-auto">
|
||||
<p class="resizable">
|
||||
|
@ -223,6 +214,15 @@
|
|||
{{p.embed | safe}}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if p.realbody(v) or (p.embed and p.domain == "twitter.com") %}
|
||||
<div class="{% if p.chudded %}text-uppercase chud-img chud-{{p.id_last_num}}{% endif %} d-none card rounded border post-preview" id="post-text-{{p.id}}">
|
||||
{% if p.domain == "twitter.com" %}
|
||||
{{p.embed | safe}}
|
||||
{% endif %}
|
||||
{{p.realbody(v) | safe}}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% else %}
|
||||
|
|
Loading…
Reference in New Issue