{% if name == 'other' %}
  {% set cat = post.categories|first.slug %}
{% else %}
  {% set cat = item.categories|first.slug %}
{% endif %}

<div class="item thumbnails col-12 col-sm-6 col-lg-4 mb-5 {{cat}}">
  <a href="{{site.url}}/{{item.post_name}}">

    <div class="__images">
    <div class="icone_cat {{cat}}">

    </div>
      <div class="__img">
        <img src="{{ Image(item.image_event).src|resize(500, 500) }}" >
      </div>
    </div>

    <div class="wrap__content_proch">
      <div class="__title"><h5>{{item.title}}</h5></div>
      <div class="__content">
        <div class="__date">
          <div class="__day">
            {% set start = item.informations_debut_event|date("Ydj") %}
            {% set end = item.informations_fin_event|date("Ydj") %}

            {% if start == end %}
              <span class="start">
                Le <time>{{item.informations_debut_event|date("j F Y") }}</time>
                de <time>{{item.informations_debut_event|date("G:i")}}</time>
              </span>
              <span class="end">
                à <time>{{item.informations_fin_event|date("G:i")}}</time>
              </span>

            {% else %}

              <span class="start">
                Du <time>{{item.informations_debut_event|date("j F Y") }}</time>
                à <time>{{item.informations_debut_event|date("G:i")}}</time>
              </span>
              <span class="end">
                <br>Au <time>{{item.informations_fin_event|date("j F Y") }}</time>
                à <time>{{item.informations_fin_event|date("G:i")}}</time></br>
              </span>

            {% endif %}
          </div>
        </div>

        <div class="lieu">{{item.informations_lieu}}</div>
      </div>
    </div>
  </a>
</div>
