<section class="articles-list">
<div class="container">
<div class="articles-list__content">
<div class="articles-list__heading section-heading">
<div class="container">
<h3 class="h3 section-title">Блог</h3>
</div>
</div>
<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': 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">
<div class="article-item__footer-item"> {{ item.author }} </div>
</div> #}
</div>
{% endfor %}
</div>
</div>
</div>
</section>