forked from rDrama/rDrama
ijd4iuhu
parent
23bd579f87
commit
b503920699
|
@ -216,12 +216,20 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if p.is_image and (not v or v.cardview) %}
|
{% if not v or v.cardview %}
|
||||||
<div style="text-align: center" class="mt-4">
|
{% if p.is_image %}
|
||||||
<a target="_blank" rel="nofollow noopener noreferrer" href="{{p.url}}">
|
<div style="text-align: center" class="mt-4">
|
||||||
<img loading="lazy" src="{{p.url}}" class="img-fluid" style="max-height:500px;" alt="Unable to load image">
|
<a target="_blank" rel="nofollow noopener noreferrer" href="{{p.url}}">
|
||||||
</a>
|
<img loading="lazy" src="{{p.url}}" class="img-fluid" style="max-height:500px;" alt="Unable to load image">
|
||||||
</div>
|
</a>
|
||||||
|
</div>
|
||||||
|
{% elif p.is_video %}
|
||||||
|
<div style="text-align: center" class="mt-4">
|
||||||
|
<video controls preload="metadata" style="max-width: 100%">
|
||||||
|
<source src="{{ p.realurl(v) }}" type="video/mp4">
|
||||||
|
</video>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if p.realbody(v) %}
|
{% if p.realbody(v) %}
|
||||||
|
|
Loading…
Reference in New Issue