Use extends instead of embed

This commit is contained in:
pikim 2023-01-20 15:39:02 +01:00
parent 5062f43510
commit 2247dced96
2 changed files with 2 additions and 6 deletions

View file

@ -1,4 +1,4 @@
{% embed 'partials/base.html.twig' %}
{% extends 'partials/base.html.twig' %}
{% set collection = page.collection() %}
{% set base_url = page.url %}
@ -59,5 +59,3 @@
{% include 'partials/sidebar_left.html.twig' %}
{% endif %}
{% endblock %}
{% endembed %}

View file

@ -1,4 +1,4 @@
{% embed 'partials/base.html.twig' %}
{% extends 'partials/base.html.twig' %}
{% set base_url = page.parent.url %}
{% set feed_url = base_url %}
{% set show_breadcrumbs = header_var('show_breadcrumbs', [page, blog]) %}
@ -27,5 +27,3 @@
{% include 'partials/footer.html.twig' %}
</section>
{% endblock %}
{% endembed %}