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