fix for page-edit template, oops

pull/84/head
Ro 3 years ago
parent f24a6b5099
commit 2ed2cd3803

@ -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…
Cancel
Save