bug fix angenda+sidebar
This commit is contained in:
@@ -29,9 +29,9 @@
|
||||
{% embed 'partials/layout.html.twig' with {blog: page} %}
|
||||
|
||||
{% block item %}
|
||||
{% for child in page.find('/agenda').children %}
|
||||
{% for child in page.find('/agenda').children.order('date','desc') %}
|
||||
|
||||
{% if child.header.date_end|date("ymd") <= "now"|date("ymd") %}
|
||||
{% if child.header.date|date("ymd") <= "now"|date("ymd") %}
|
||||
{% include 'partials/cal-list-event.html.twig' with {blog: page, page: child} %}
|
||||
{% endif %}
|
||||
|
||||
|
Reference in New Issue
Block a user