From 1c99869c8402f13e17479ce77b1d03102d0c9816 Mon Sep 17 00:00:00 2001 From: muli Date: Tue, 25 Oct 2022 14:18:32 +0200 Subject: [PATCH] feat: Added support for svg images to flow_block_page template. --- templates/flow_block_page.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/flow_block_page.html b/templates/flow_block_page.html index 30aaee9..1207db0 100644 --- a/templates/flow_block_page.html +++ b/templates/flow_block_page.html @@ -27,7 +27,11 @@ {% if this.attachments.images %}
{% for image in this.attachments.images %} + {% if image.format != 'svg' %} {{ image.description }} + {% else %} + {{ image.description }} + {% endif %} {% endfor %}
{% endif %}