diff --git a/c3woc.lektorproject b/c3woc.lektorproject index ae30d53..a4aaf6d 100644 --- a/c3woc.lektorproject +++ b/c3woc.lektorproject @@ -28,4 +28,4 @@ url_prefix = /en/ [packages] lektor-scss = 1.4.1 lektor-image-resize = 0.6.1 -lektor-image-filter = 0.9 +lektor-image-filter = 1.1 diff --git a/templates/blocks/flow_one_innerbox_section.html b/templates/blocks/flow_one_innerbox_section.html index 85dd4c4..d49905f 100644 --- a/templates/blocks/flow_one_innerbox_section.html +++ b/templates/blocks/flow_one_innerbox_section.html @@ -3,31 +3,11 @@ {{- '\n ' -}}

{{ this.title }}

{%- if this.box_image is defined and this.box_image != '' -%} {%- set image = record.attachments.images.get(this.box_image) -%} - {{- '\n ' -}} {{ this.image_alt }} + {%- endif -%}/> {%- endif -%} {%- if this.box_content is defined and this.box_content != "" -%} {{- '\n ' -}} diff --git a/templates/blocks/flow_text_image_section.html b/templates/blocks/flow_text_image_section.html index 7e40f87..481c0e0 100644 --- a/templates/blocks/flow_text_image_section.html +++ b/templates/blocks/flow_text_image_section.html @@ -34,8 +34,8 @@ ToDO: Nochmal nach Bildgrößen schauen, ggf. webp usw. mit einbeziehen... #} - {{ this.content_image_alt }} + {{ this.content_image_alt }} {%- if this.content_image_src is defined and this.content_image_alt != '' -%} {{- '\n ' -}}

{{ this.content_image_src }}

{%- endif -%}