{% if type_template|default and type_template == 'evasion' %}
<a href="{{ url }}" class="itemPost --nordEvasion" title="{{ title }}" target="_blank">
<div class="__img">
<img src="{{ src_image }}" alt="">
</div>
<p class="__title"><span>{{ title }}</span></p>
</a>
{% elseif type_template|default and type_template == 'services' %}
<a target='_blank' href="{{ url }}"
class="itemCardService" title="{{ title }}">
<p><span class="__text">{{ title }}</span> <span class="__icon-external">{{ source('svg/icons/icon-external.svg') }}</span></p>
</a>
{% else %}
<a href="{{ post.url }}" class="itemPost --nordInfo {% if post.type == 4 %}--video{% endif %}" title="{% if post.type == 4 %}VIDEO : {% endif %}{{ post.title }}" target="_blank">
<div class="__img">
<img src="{{ post.image }}" alt="">
{% if post.type == 4 %}
<span class="__icon-play">
{{ source('svg/icons/icon-play.svg') }}
</span>
<span class="__duration">{{ post.duration }}</span>
{% endif %}
</div>
<p class="__title"><span>{% if post.type == 4 %}VIDEO : {% endif %}{{ post.title }}</span></p>
</a>
{% endif %}