form + filter
This commit is contained in:
@@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user