{% set options = { items: {'@page.children': '/agenda'} } %}
{% set h2 = h2 ?: 'h2' %}
{% set h3 = h3 ?: 'h3' %}

<div class="sidebar">
  {# <{{h2}}>À venir</{{h2}}>

  {% set this_year = "now"|date('Y') %}
  {% set this_month = "now"|date('M') %}
  {% set this_day = "now"|date('d') %}

  {% set next_year = "+1 year"|date('Y')%} #}

  {# {% for p in page.collection(options).dateRange( this_day ~ this_month ~ this_year, '12/31/' ~ next_year).slice(0, 3).order('date', 'asc') %}
      <div class="side-agenda">
        <a href="{{p.url}}">
          <div class="date">
            {% include 'partials/blog/date.html.twig' with {page: p} %}
          </div>
          <{{h3}}>{{p.title}}</{{h3}}>
          {{p.summary(70)}}
        </a>
      </div>
  {% endfor %} #}
  <div class="side-all-agenda">
    <a href="https://val-de-drome.lab-event.com/event-form/formulaire%20ext" target="_blank">Reserver en ligne</a>
  </div>
</div>
