extratonal.org/templates/blocks/single-image.html

6 lines
290 B
HTML
Raw Normal View History

2023-12-15 01:23:16 +01:00
<figure class="single-image">
2023-11-26 23:34:10 +01:00
{% set img = record.attachments.images.get(this.url) %}
2023-12-15 01:23:16 +01:00
<img class="" src="{{ img|url|replace(".png","")|replace(".jpg","")|replace(".jpeg","")}}-medium.webp" alt="{{ this.Alt }}" loading="lazy">
<figcaption>{{this.caption}}</figcaption>
</figure>