Skip to content
Snippets Groups Projects
Commit a77a8d4c authored by wodby's avatar wodby
Browse files

adding logic to card to check for card_type on single image output

parent 9830e44b
No related branches found
No related tags found
1 merge request!69Feature ISTWCMS 4914 M26lebla removing second print of single 'image' when using on card--banner.twig
......@@ -72,7 +72,7 @@
</div>
{% endif %}
{% if image %}
{% if image and not card_type =='banner' %}
<div class="card__image">
<img src="{{ image }}" alt="{{ alt }}" />
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment