<div class="site-block site-block_gray news">
<div class="container">
<div class="site-heading">{{ title|default|raw }}</div>
</div>
<div class="container">
<div class="news__list">
{% for publication_item in publication_list %}
{% if publication_item.link is defined and publication_item.link %}
{% set publication_item_url = publication_item.link %}
{% else %}
{% set publication_item_url = path('mldev-front-publication-show', {
uri: publication_category.page.uri[1:],
alias: publication_item.alias,
id: publication_item.id
}) %}
{% endif %}
<a href="{{ publication_item_url }}" class="item">
<div class="item__heading">{{ publication_item.name }}</div>
<div class="item__date">{{ publication_item.date|format_date('long') }}</div>
<div class="item__icon">
<svg>
<use xlink:href="/images/sprite..svg#news" />
</svg>
</div>
</a>
{% endfor %}
</div>
<a href="{{ publication_category.page.uri }}" class="news__link">
<span>Все статьи</span>
<svg>
<use xlink:href="images/sprite..svg#news" />
</svg>
</a>
</div>
<div class="news__bg">
<img src="/images/news..svg" alt="">
</div>
</div>