{% load wagtailcore_tags wagtailimages_tags%}
{% load static %}
{% for block in page.footer.image %}
{% if block.value %}
{% if ".svg" in block.value.file.url|lower %}
{% else %}
{% image block.value fill-218x63 format-webp preserve-svg as logo_img %}
{% endif %}
{% endif %}
{% endfor %}