<div class="card">
    <div class="card-footer">
      {% include 'partials/blog/public.html.twig' %}
    </div>
    {% set image = page.media.images|first %}
    {% if image %}
    <div class="card-image">
        <a href="{{ page.url }}">{{ image.html('','evenement') }}</a>
    </div>
    {% endif %}
    <div class="card-header">
        <div class="card-title">
          {% include 'partials/blog/title.html.twig' with {title_level: 'h5'} %}
        </div>
        <div class="card-subtitle text-gray">
          <div class="date">
            {% include 'partials/blog/date.html.twig' %}
          </div>
        </div>
    </div>
    <div class="card-body">
        {% if page.summary != page.content %}
            {{ page.summary|raw }}
        {% else %}
            {{ page.content|raw }}
        {% endif %}
    </div>
</div>
