This commit is contained in:
2019-05-14 19:59:47 +02:00
parent 3c24252ea3
commit fd38b48e27
68 changed files with 13719 additions and 585 deletions

View File

@@ -7,31 +7,27 @@
{% set show_pagination = header_var('show_pagination', [page, blog])|defined(true) %}
{% block body %}
<section class="header-wrapper">
<div class="title">
{{page.title}}
<h1>{{page.title}}</h1>
</div>
<div class="cat">
{% include 'partials/taxonomylist.html.twig' with {base_url: my_url, taxonomy: 'tag'} %}
</div>
</section>
<section class="body-wrapper" class="section blog-listing">
{% if show_breadcrumbs and config.plugins.breadcrumbs.enabled %}
{% include 'partials/breadcrumbs.html.twig' %}
{% endif %}
{% embed 'partials/layout.html.twig' with {blog: page} %}
{% block item %}
{% 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 class="body-wrapper">
{% block item %}
{% 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 %}
</section>
{% endblock %}
{% block newsletter %}
{% include 'partials/newsletters.html.twig' %}
{% endblock %}