restored agenda link in home

This commit is contained in:
2026-07-06 21:27:55 +02:00
parent 2f28947e35
commit 684bd54da1
2 changed files with 6 additions and 6 deletions

View File

@@ -10,9 +10,9 @@
</div>
{% endblock %}
{# {% block sidebar %}
{% block sidebar %}
{% include 'partials/sidebar.html.twig' %}
{% endblock %} #}
{% endblock %}
{% block newsletter %}
{% include 'partials/newsletters.html.twig' %}

View File

@@ -3,15 +3,15 @@
{% set h3 = h3 ?: 'h3' %}
<div class="sidebar">
<{{h2}}>À venir</{{h2}}>
{# <{{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')%}
{% 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') %}
{# {% 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">
@@ -21,7 +21,7 @@
{{p.summary(70)}}
</a>
</div>
{% endfor %}
{% endfor %} #}
<div class="side-all-agenda">
<a href="/agenda">voir tout l'agenda</a>
</div>