{% set img = openform_front_util.getImagePathByType(item.Thumb ?? '','list') %}
{% set href = toolkit_route_localizer.generate('exhibition_item',{ 'slug' : item.Translation[app.request.locale].slug }, app.request.locale) %}
<a class="news-item news-item--exh" href="{{ href }}" aria-label="{{ 'T_READ_MORE'|trans({}, 'openform_front', app.request.locale) }} {{ item.Translation[app.request.locale].title }}"
>
{% if img %}
<img class="news-item__image" loading="lazy" src="{{asset(img)}}" alt="{{ item.Translation[app.request.locale].alt }}">
{% endif %}
<div class="news-item__content">
<h2 class="news-item__title news-item__title--exh">{{ item.Translation[app.request.locale].titleHtml|raw }}</h2>
<div class="news-item__date-wrapper">
{# <time class="news-item__date">
{{ item.publishDate|explodedDate(app.request.locale).D }}
{{ item.publishDate|explodedDate(app.request.locale).month }}
{{ item.publishDate|explodedDate(app.request.locale).y }}
</time> #}
</div>
<p class="news-item__text news-item__text--exh">{{ item.Translation[app.request.locale].shortLead }}</p>
{% if item.logo[0] is defined ? item.logo[0] %}
{% set imgLogo = openform_front_util.getImagePathByType(item.logo[0].Thumb ?? '','logo') %}
<div class="news-item__logotype">
<img src="{{imgLogo}}" alt="{{item.logo[0].Translation[app.request.locale].alt}}" title="{{item.logo[0].Translation[app.request.locale].title}}">
</div>
{% endif %}
</div>
</a>