Skip to content

Commit

Permalink
hide card header if no image (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
LucienMLD authored Aug 19, 2024
1 parent ea9de2d commit b488da2
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
{% endif %}

</div>
<div class="fr-card__header">
{% if value.image %}
{% if value.image %}
<div class="fr-card__header">
<div class="fr-card__img">{% image value.image width-1200 class="fr-responsive-img" alt="" %}</div>
{% if value.image_badge %}
<ul class="fr-badges-group">
Expand All @@ -68,6 +68,6 @@
{% endfor %}
</ul>
{% endif %}
{% endif %}
</div>
</div>
{% endif %}
</div>

0 comments on commit b488da2

Please sign in to comment.