1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-08 06:55:26 +02:00

Add spaces

This commit is contained in:
Taly 2019-03-20 10:05:15 +03:00
parent 3df867adb0
commit 4927e2ea51

View file

@ -13,13 +13,13 @@
{% endif %}
<figure class="block-image">
<div class="{{classes.join(' ')}}">
<div class="{{ classes.join(' ') }}">
{% if file.mime and file.mime == 'video/mp4' %}
<video autoplay loop muted playsinline>
<source src="{{file.url}}" type="video/mp4">
<source src="{{ file.url }}" type="video/mp4">
</video>
{% else %}
<img src="{{file.url}}" alt="{{caption ? caption | striptags : ''}}">
<img src="{{ file.url }}" alt="{{ caption ? caption | striptags : '' }}">
{% endif %}
</div>