change agenda

This commit is contained in:
2019-06-07 16:49:19 +02:00
parent 073eb24784
commit 6872b491c2
4 changed files with 3 additions and 20 deletions

View File

@@ -19,7 +19,7 @@
<section class="body-wrapper">
{% block item %}
{% for child in collection.order('folder','asc') %}
{% if child.header.date_end|date("ymd") >= "now"|date("ymd") %}
{% if child.header.date_begin|date("ymd") >= "now"|date("ymd") %}
{% include 'partials/cal-list-event.html.twig' with {blog: page, page: child} %}
{% endif %}
{% endfor %}