forked from rDrama/rDrama
display vids in card view
parent
b503920699
commit
3b0094b6f5
|
@ -216,8 +216,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{% if not v or v.cardview %}
|
||||
{% if p.is_image %}
|
||||
{% if p.is_image and not (v and not v.cardview) %}
|
||||
<div style="text-align: center" class="mt-4">
|
||||
<a target="_blank" rel="nofollow noopener noreferrer" href="{{p.url}}">
|
||||
<img loading="lazy" src="{{p.url}}" class="img-fluid" style="max-height:500px;" alt="Unable to load image">
|
||||
|
@ -230,7 +229,6 @@
|
|||
</video>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if p.realbody(v) %}
|
||||
<div class="d-none card rounded border pb-0 pt-3 my-2" id="post-text-{{p.id}}">
|
||||
|
|
Loading…
Reference in New Issue