{#- Shared responsive image renderer (issue #216). Every image call site uses this macro so ``srcset``/``sizes``/``loading`` stay consistent. Candidate output is built from ``image.candidates`` directly and never depends on the ``image.srcset`` property. -#} {%- from 'maatlog/components/image-policy.html' import image_sizes, image_loading, image_fetchpriority with context -%} {%- macro render_image(image, fallback_src, alt='', css_class='', presentation='standalone', has_rail=none, featured_count=0, early=true, high=false) -%} {%- if image -%} {{ alt|forceescape }} {%- elif fallback_src -%} {{ alt|forceescape }} {%- endif -%} {%- endmacro -%}