forked from rDrama/rDrama
make post link appear on youtube videos and tweets cuz ppl wanna be able to click it in these circumstances
parent
d920ae47c1
commit
b540b9fe3c
|
@ -86,7 +86,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) and not p.embed and not p.is_image and not p.is_video and not p.is_audio %}
|
{% if p.realurl(v) and not p.is_image and not p.is_video and not p.is_audio %}
|
||||||
<a rel="nofollow noopener" href="{{p.realurl(v)}}" {% if not v or v.newtabexternal %}target="_blank"{% endif %}>
|
<a rel="nofollow noopener" href="{{p.realurl(v)}}" {% if not v or v.newtabexternal %}target="_blank"{% endif %}>
|
||||||
<div class="d-flex justify-content-between align-items-center border rounded p-2 mb-3">
|
<div class="d-flex justify-content-between align-items-center border rounded p-2 mb-3">
|
||||||
<span>{{p.realurl(v)}}</span>
|
<span>{{p.realurl(v)}}</span>
|
||||||
|
|
Loading…
Reference in New Issue