forked from rDrama/rDrama
Merge remote-tracking branch 'origin/master'
commit
6d4d78234e
|
@ -58,7 +58,7 @@
|
|||
<label class="custom-control-label" for="cardview"></label>
|
||||
</div>
|
||||
|
||||
<span class="text-small-extra text-muted">Enable if you would like to display images in full size in the frontpage.</span>
|
||||
<span class="text-small-extra text-muted">Enable if you would like to display images and videos in full size on the frontpage.</span>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -389,7 +389,8 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if p.is_image and (not v or v.cardview) %}
|
||||
{% if not v or v.cardview %}
|
||||
{% if p.is_image %}
|
||||
<div style="text-align: center" class="mt-3 mb-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">
|
||||
|
@ -412,6 +413,7 @@
|
|||
<iframe src="{{p.url}}" frameborder="0" width="600" height="337" allow="fullscreen"></iframe>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% else %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue