{% set alt = alt|default('') %}
{% if image is defined %}
<div class="hero">
<figure class="hero__image embed-responsive hero__embed">
{% if image %}
{{ image.thumbnail('hero').html({
imgAttributes: {
'class': 'embed-responsive-item'
},
'alt': alt,
'lowQualityPlaceholder': true
})|raw }}
{{ image.thumbnail('hero').html({
imgAttributes: {
'class': 'embed-responsive-item'
},
'alt': alt
})|raw }}
{% endif %}
</figure>
</div>
{% endif %}