fix for page-edit template, oops
This commit is contained in:
parent
f24a6b5099
commit
2ed2cd3803
1 changed files with 5 additions and 1 deletions
|
@ -62,7 +62,11 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<div id="0" class="img-item" style="background: url({{ media[0] }}) no-repeat center center / cover">
|
{% if item.type == "mp4"%}
|
||||||
|
<div id="0" class="video-item" data-source="{{ media[0].file }}"></div>
|
||||||
|
{% else %}
|
||||||
|
<div id="0" class="img-item" style="background: url({{ media[0].file }}) no-repeat center center / cover"></div>
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue