bug fix angenda+sidebar

This commit is contained in:
2019-06-08 18:00:55 +02:00
parent b3800e5e04
commit 5c8f37419f
5 changed files with 42 additions and 25 deletions

View File

@@ -16,13 +16,15 @@
{% include 'partials/taxonomylist.html.twig' with {base_url: my_url, taxonomy: 'tag'} %}
</div>
</section>
<section class="body-wrapper">
{% block item %}
{% for child in collection.order('folder','asc') %}
{% if child.header.date_begin|date("ymd") >= "now"|date("ymd") %}
{% for child in collection.order('date','asc') %}
{% if child.header.date|date("ymd") >= "now"|date("ymd") %}
{% include 'partials/cal-list-event.html.twig' with {blog: page, page: child} %}
{% endif %}
{% endfor %}
{{date_b}}
{% endblock %}
</section>