Commit b0c4c8fd authored by Eric Bremner's avatar Eric Bremner Committed by Liam Morland
Browse files

ISTWCMS-5340: fixing empty img src and alt tags

parent 1c445697
......@@ -3,11 +3,19 @@
<a href="{{ image.link }}">
{% endif %}
<div class="card__banner--media">
{% if listing_image.img_element %}
{% include "@components/responsive-image/responsive-image.twig" with {
sources: image.sources,
img_element: listing_image.img_element,
alt: listing_image.alt
}%}
{% else %}
{% include "@components/responsive-image/responsive-image.twig" with {
sources: image.sources,
img_element: image.img_element,
alt: image.alt
}%}
{% endif %}
</div>
{% if image.big_text or image.small_text %}
<div class="card__banner--caption">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment