forked from rDrama/rDrama
fix previous commit
parent
6f2fed7aa5
commit
b010c4b228
|
@ -723,7 +723,7 @@
|
||||||
{% if not v_forbid_deleted %}
|
{% if not v_forbid_deleted %}
|
||||||
<div id="post-body" class="post-body mt-3">
|
<div id="post-body" class="post-body mt-3">
|
||||||
{% if p.realurl(v) %}
|
{% if p.realurl(v) %}
|
||||||
{% if not p.embed_url and not p.is_image and not p.is_video and not p.is_audio %}
|
{% if not p.embed_url and not p.is_image and not p.is_audio %}
|
||||||
<a rel="nofollow noopener noreferrer" href="{{p.realurl(v)}}" {% if not v or v.newtabexternal %}target="_blank"{% endif %}>
|
<a rel="nofollow noopener noreferrer" href="{{p.realurl(v)}}" {% if not v or v.newtabexternal %}target="_blank"{% endif %}>
|
||||||
<div class="d-flex d-md-none justify-content-between align-items-center border rounded p-2{% if p.realbody(v) %} mb-3{% endif %}">
|
<div class="d-flex d-md-none justify-content-between align-items-center border rounded p-2{% if p.realbody(v) %} mb-3{% endif %}">
|
||||||
<span>{{p.domain|truncate(30, True)}}</span>
|
<span>{{p.domain|truncate(30, True)}}</span>
|
||||||
|
@ -887,14 +887,6 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if not p.is_image and not p.is_audio %}
|
|
||||||
<div class="row no-gutters d-md-none">
|
|
||||||
<div class="col">
|
|
||||||
<a {% if not v or v.newtabexternal %}target="_blank"{% endif %} rel="nofollow noopener noreferrer" href="{{p.realurl(v)}}"></a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row mb-3 d-md-none">
|
<div class="row mb-3 d-md-none">
|
||||||
|
|
Loading…
Reference in New Issue