add structure

This commit is contained in:
2019-05-01 19:59:32 +02:00
parent f988fe8ae1
commit 0cae791a02
58 changed files with 3768 additions and 350 deletions

View File

@@ -20,18 +20,21 @@
{% endblock %}
{% block body %}
{% if show_breadcrumbs and config.plugins.breadcrumbs.enabled %}
{% include 'partials/breadcrumbs.html.twig' %}
{% endif %}
{% if show_breadcrumbs and config.plugins.breadcrumbs.enabled %}
{% include 'partials/breadcrumbs.html.twig' %}
{% endif %}
{% embed 'partials/layout.html.twig' %}
{% block item %}
{% include 'partials/blog-item.html.twig' %}
{% endblock %}
{% endembed %}
{% embed 'partials/layout.html.twig' %}
{% block item %}
<div class="content">
<h2>{{page.title}}</h2>
{{content}}
</div>
{% endblock %}
{% endembed %}
{% for child in page.collection %}
{{child.content}}
{% endfor %}
{% for child in page.collection %}
{{child.content}}
{% endfor %}
{% endblock %}