{% extends 'layout/two_columns.html.twig' %}
{% block leftcol %}
<div class="row">
<div class="col-md-12">
{% for articleData in articlesData %}
{% set article = articleData.article %}
<div class="news_box" onclick="location.href = '{{ path('_blog_view', {id: article.id}) }}';">
<div class="news_backbox2" style="background: url({{ articleData.bannerUri }}) no-repeat center center; background-size: cover;">
<div class="news_titlebox2">
<a href="{{ path('_blog_view', {id: article.id}) }}">{{ article.title }}</a>
<div class="news_subtitlebox">
<div class="title4" style="float: right; margin-right: 15px; margin-top: 5px; color: #aaaaaa;">
<img src="{{ asset('/images/main/icons/comments_flip.png') }}" width="16"
height="16" alt="" title=""> {{ article.totalComments|length }}
</div>
{{ article.bottomLine }}
</div>
</div>
</div>
</div>
{% else %}
<p>{{ 'blog.no_news'|trans }}</p>
{% endfor %}
</div>
</div>
{% endblock %}
{% block rightcol %}
{{ parent() }}
{% if counters is not empty %}
<div class="tipstitle">{{ 'counters.title'|trans }}</div>
<div class="tipscontent">
<ul>
{% for counterTrans, counterValue in counters %}
<li>{{ counterTrans|trans }} : {{ counterValue|number_format(0, ',', ' ') }}</li>
{% endfor %}
</ul>
</div>
{% endif %}
{% endblock %}