html archive

This commit is contained in:
2019-06-19 16:33:20 +02:00
parent 35580d75a0
commit d58b67aadd
15 changed files with 48 additions and 166 deletions

View File

@@ -12,32 +12,32 @@
{% block body %}
<section class="header-wrapper">
<div class="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="header-wrapper">
<div class="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 %}
<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} %}
{% embed 'partials/layout.html.twig' with {blog: page} %}
{% block item %}
{% for child in page.find('/agenda').children.order('date','desc') %}
{% block item %}
{% for child in page.find('/agenda').children.order('date','desc') %}
{% if child.header.date|date("ymd") <= "now"|date("ymd") %}
{% include 'partials/cal-list-event.html.twig' with {blog: page, page: child} %}
{% endif %}
{% if child.header.date|date("ymd") <= "now"|date("ymd") %}
{% include 'partials/cal-list-event.html.twig' with {blog: page, page: child} %}
{% endif %}
{% endfor %}
{% endblock %}
{% endembed %}
</section>
{% endfor %}
{% endblock %}
{% endembed %}
</section>
{% endblock %}