From bc3713ef03a5e8ca3d1bd17a0176f0f06379a3c8 Mon Sep 17 00:00:00 2001 From: L3D Date: Mon, 4 Oct 2021 21:21:57 +0200 Subject: [PATCH] Improve image html layout and add url --- templates/blocks/flow_one_innerbox_section.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/blocks/flow_one_innerbox_section.html b/templates/blocks/flow_one_innerbox_section.html index d49905f..2d9635b 100644 --- a/templates/blocks/flow_one_innerbox_section.html +++ b/templates/blocks/flow_one_innerbox_section.html @@ -3,11 +3,14 @@ {{- '\n ' -}}

{{ this.title }}

{%- if this.box_image is defined and this.box_image != '' -%} {%- set image = record.attachments.images.get(this.box_image) -%} - {{- '\n ' -}} + {{- '\n ' -}} {{ this.image_alt }} + {{- '\n ' -}} {%- endif -%} {%- if this.box_content is defined and this.box_content != "" -%} {{- '\n ' -}}