form + filter

This commit is contained in:
2019-04-08 18:00:38 +02:00
parent 52fe56a7fc
commit 4346f85d56
25 changed files with 476 additions and 179 deletions

View File

@@ -11,9 +11,12 @@
{% endblock %}
{% block body %}
<section id="body-wrapper" class="section blog-listing">
<section class="container {{ grid_size }}">
<div class="cat">
{% include 'partials/taxonomylist.html.twig' with {base_url: my_url, taxonomy: 'tag'} %}
</div>
{% if show_breadcrumbs and config.plugins.breadcrumbs.enabled %}
{% include 'partials/breadcrumbs.html.twig' %}
{% endif %}
@@ -21,15 +24,16 @@
{% embed 'partials/layout.html.twig' with {blog: page} %}
{% block item %}
<div class="cat">
{% include 'partials/taxonomylist.html.twig' with {base_url: my_url, taxonomy: 'tag'} %}
</div>
{% for child in collection %}
{% include 'partials/cal-list-event.html.twig' with {blog: page, page: child} %}
{% endfor %}
{% for child in collection %}
{% if child.header.date_end|date("d/m/y") >= "now"|date("d/m/y") %}
{% include 'partials/cal-list-event.html.twig' with {blog: page, page: child} %}
{% endif %}
{% endfor %}
{% endblock %}
{% endembed %}
</section>
</section>