forked from rDrama/rDrama
gfgf
parent
f9e4a90c18
commit
195442729b
|
@ -233,7 +233,8 @@
|
|||
|
||||
{% if not p.is_image and p.thumb_url and not p.embed_url %}
|
||||
<div class="card-header bg-transparent border-0 d-none d-md-flex flex-row flex-nowrap pl-3 p-0">
|
||||
<a rel="noopener noreferrer" href="{{p.realurl(v)}}" style="height: fit-content;" {% if not v or v.newtabexternal %}target="_blank"{% endif %} rel="nofollow"><img src="{{p.thumb_url}}" class="post-img d-none d-md-block"></a>
|
||||
<a rel="noopener noreferrer" href="{{p.realurl(v)}}" style="height: fit-content;" {% if not v or v.newtabexternal %}target="_blank"{% endif %} rel="nofollow"><img src="{{p.thumb_url}}" class="post-img d-none d-md-block" alt="Unable to load image"></a>
|
||||
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
@ -313,9 +314,9 @@
|
|||
|
||||
<div id="post-text" style="z-index: 50">
|
||||
{% if p.is_image %}
|
||||
<div class="row no-gutters d-block d-md-block">
|
||||
<div class="row no-gutters">
|
||||
<div class="col">
|
||||
<a {% if not v or v.newtabexternal %}target="_blank"{% endif %} rel="noopener noreferrer" href="{{p.realurl(v)}}">{% if p.is_image %}<img src="{{p.realurl(v)}}" class="img-fluid" alt="Unable to load image"></a>
|
||||
<a {% if not v or v.newtabexternal %}target="_blank"{% endif %} rel="noopener noreferrer" href="{{p.realurl(v)}}"><img src="{{p.realurl(v)}}" class="img-fluid" alt="Unable to anonymously load image"></a>
|
||||
</div>
|
||||
</div>
|
||||
<pre></pre>
|
||||
|
@ -495,6 +496,15 @@
|
|||
|
||||
</div>
|
||||
|
||||
{% if not p.is_image %}
|
||||
<div class="row no-gutters d-block d-md-none">
|
||||
<div class="col">
|
||||
<a {% if not v or v.newtabexternal %}target="_blank"{% endif %} rel="noopener noreferrer" href="{{p.realurl(v)}}"></a>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row mb-3 d-block d-md-none">
|
||||
|
|
Loading…
Reference in New Issue