{% set img = openform_front_util.getImagePathByType(item.Thumb ?? '','list') %}
{#{% set href = toolkit_route_localizer.generate('about_us_item',{ slug : item.Translation[app.request.locale].slug }, app.request.locale) %}#}
{% set href = toolkit_route_localizer.generate('news_item',{ slug : item.Translation[app.request.locale].slug }, app.request.locale) %}
<a class="news-item" 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">{{ 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">{{ item.Translation[app.request.locale].shortLead }}</p>
</div>
</a>