{% for post in posts %}

<li class="anons-best__card light">
    <ul class="anons-best__card-alerts">
        {% for category in post.categories %}
        <li>
            <a href="{{ category.link }}">{{ category.name }}</a>
        </li>
        {% endfor %}
    </ul>
    <a href="{{post.link}}" class="main-img">
        <img src="{{post.thumbnail.src}}" alt="{{post.thumbnail.alt}}">
    </a>
    <div class="anons-best__card-body">
        <a href="{{post.link}}" class="anons-best__card-body__title">{{post.title}}</a>
        <div class="anons-best__card-body__datas">
            <p>{{post.date}}</p>
            <p>{{ function('pll_e', 'время чтения') }}: {{post.reading_time}}</p>
        </div>
    </div>
</li>
{% endfor %}