Edit artworks section blueprints and video style
This commit is contained in:
parent
1ce3b7326f
commit
df70ddca09
4 changed files with 7 additions and 8 deletions
|
@ -20,9 +20,9 @@
|
|||
{% for artwork in artworks %}
|
||||
<figure class="gallery__artwork">
|
||||
{% if artwork.type == 'video' %}
|
||||
<video class="gallery__video" controls playsinline preload="metadata">
|
||||
<source src="{{ artwork.url }}" type="video/mp4" />
|
||||
</video>
|
||||
<video class="gallery__video" controls playsinline preload="metadata">
|
||||
<source src="{{ artwork.url }}" type="video/mp4" />
|
||||
</video>
|
||||
{% endif %}
|
||||
{% if artwork.type == 'image' %}
|
||||
<img class="gallery__image" src="{{ artwork.url }}" srcset="{{ artwork.srcset() }}" alt="{{ artwork.alt_text }}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue