maj
This commit is contained in:
@@ -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 %}
|
||||
|
Reference in New Issue
Block a user