<div class="posts row">
{% for key, post in posts %}
<div class="post col-md-6 col-sm-8 col-11 col-lg-4 mab-50" data-aos="fade-in" data-aos-duration="800">
<div class="dbangk pointer pa-30" data-link>
<div class="bgp-center bgs-cover w-100 he-320-xl he-300-lg he-270-sm he-250 mab-25"
style="background-image:url({{ asset(vich_uploader_asset(post, 'postFile')) | imagine_filter('medium') }})">
</div>
<h2 class="hdveuv mab-15 wqphyy">
<a href="{{ path('front_post', {'slug':post.slug}) }}">
{{ post.title }}
</a>
</h2>
<div class="content pmab0">
<div class="overflow-hidden he-70 position-relative">
<div>
{{ post.introRaw }}
</div>
<div class="position-absolute hep-100 b-0 w-100"
style="background: rgb(255,255,255);background: linear-gradient(0deg, rgba(255,255,255,1) 20%, rgba(255,255,255,0) 100%);"></div>
</div>
</div>
</div>
</div>
{% endfor %}
</div>
{% if landing is not defined %}
<div class="text-center mat-0 mab-30 {% if not ( posts.getTotalItemCount > 12) %} d-none {% endif %}">
<div class='triggerPost btn btn1'>
<div class="btn-text">
{{ "posts_list.see_more.btn"|trans }}
</div>
</div>
</div>
{{ knp_pagination_render(posts) }}
{% endif %}