spielwiese #201

Merged
muli merged 145 commits from spielwiese into main 2023-08-08 21:18:13 +02:00
Showing only changes of commit 1c99869c84 - Show all commits

View File

@ -27,7 +27,11 @@
{% if this.attachments.images %}
<div class="content__inner_half_box">
{% for image in this.attachments.images %}
{% if image.format != 'svg' %}
<img class="content__half_box_image" src="{{ image|url }}" width="{{ image.width / 2 }}" alt="{{ image.description }}" srcset="{{ image.thumbnail(image.width / 2)|url }} 1x, {{ image|url }} 2x">
{% else %}
<img class="content__half_box_image" src="{{ image|url }}" width="100%" alt="{{ image.description }}">
{% endif %}
{% endfor %}
</div>
{% endif %}