fixed image figures

This commit is contained in:
Parker TenBroeck 2026-01-26 20:25:44 -05:00
parent eaa2b2734a
commit 55ab262a42

View file

@ -3,7 +3,7 @@
{# {% set image = resize_image(path=src, height=mdata.height, width=mdata.width, format="webp") %} #}
<figure class="{% if class %} {{ class }} {% endif %}">
<img src="{{ src }}" loading="lazy" height="{{mdata.height}}" width="{{mdata.width}}" alt="{{caption | default(value='')}}" decoding="async" class="zoomable">
<img src="{{ get_url(path=src) }}" loading="lazy" height="{{mdata.height}}" width="{{mdata.width}}" alt="{{caption | default(value='')}}" decoding="async" class="zoomable">
{% if caption != "" %}
<figcaption>{{ caption | markdown() | safe }}</figcaption>
{% endif %}