<section class="articles-list">
<div class="container">
<div class="articles-list__content">
<div class="articles-list__items">
{% for item in items %}
{% if item.link is defined and item.link %}
{% set item_url = item.link %}
{% else %}
{% set item_url = path('mldev-front-publication-show', { 'uri': item.category.page.uri[1:], 'alias': item.alias, 'id': item.id }) %}
{% endif %}
<div class="article-item">
<div class="article-item__header">
{% if item.image %}
<a class="article-item__img" href="{{ item_url }}">
<img src="{{ item.image }}" alt="{{ item.name }}">
</a>
{% endif %}
</div>
<div class="article-item__body">
<a class="article-item__title" href="{{ item_url }}"> {{ item.name }} </a>
</div>
{# <div class="article-item__footer">
{% if item.author %}
<div class="article-item__footer-item"> {{ item.author }} </div>
{% endif %}
</div> #}
</div>
{% endfor %}
</div>
</div>
</div>
</section>