<section class="content-teaser content-teaser--{{ orientation|default('square') }} stretch-link teaser-animation">
{% if isYoungStyria|default(false) %}
<img class="demi-infrastructure-teaser-grid__young-styria-logo" src="/static/img/young-styria/young-styria.jpg">
{% endif %}
<figure class="content-teaser__embed--{{ orientation|default('square') }} embed-responsive mb-0">
{% if image|default(false) %}
{% set description = getImageDescription(image) %}
{{ image.thumbnail('content-teaser--' ~ orientation|default('square')).html({
imgAttributes: {
class: 'js-lazy-img embed-responsive-item teaser-animation__img'
},
lowQualityPlaceholder: true,
title: description|default(''),
alt: description|default(''),
})|raw }}
{% do jsConfig().add('lazyImg', true) %}
{% endif %}
{# {% if description %}#}
{# <figcaption class="content-teaser__caption">#}
{# {{ description }}#}
{# </figcaption>#}
{# {% endif %}#}
</figure>
<div class="content-teaser__content">
<div>
{% if badgeText|default(false) %}
<div class="content-teaser__badge">
{{ badgeText }}
</div>
{% endif %}
{% if subtitle|default(false) %}
<div class="content-teaser__sub-title">
{{ subtitle }}
</div>
{% endif %}
{% if href|default(false) %}
<h3 class="content-teaser__title h5">
<a href="{{ href }}" class="stretch-link__link">
{{ title }}
</a>
</h3>
{% endif %}
</div>
</div>
</section>