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:
parent
3df867adb0
commit
4927e2ea51
1 changed files with 3 additions and 3 deletions
|
@ -13,13 +13,13 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<figure class="block-image">
|
<figure class="block-image">
|
||||||
<div class="{{classes.join(' ')}}">
|
<div class="{{ classes.join(' ') }}">
|
||||||
{% if file.mime and file.mime == 'video/mp4' %}
|
{% if file.mime and file.mime == 'video/mp4' %}
|
||||||
<video autoplay loop muted playsinline>
|
<video autoplay loop muted playsinline>
|
||||||
<source src="{{file.url}}" type="video/mp4">
|
<source src="{{ file.url }}" type="video/mp4">
|
||||||
</video>
|
</video>
|
||||||
{% else %}
|
{% else %}
|
||||||
<img src="{{file.url}}" alt="{{caption ? caption | striptags : ''}}">
|
<img src="{{ file.url }}" alt="{{ caption ? caption | striptags : '' }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue