skip_html_head should only include the actual content, with no HTML boilerplate

This commit is contained in:
Fabio Manganiello 2022-12-04 15:25:46 +01:00
parent d18adc5220
commit 231b76246f
1 changed files with 4 additions and 3 deletions

View File

@ -4,8 +4,6 @@
{% endwith %}
<main>
{% endif %}
<div class="container">
{% if not skip_header %}
{% if title %}
@ -46,13 +44,16 @@
{% endif %}
<div class="content">
{% endif %}
{{ content | safe }}
{% if not skip_html_head %}
</div>
</div>
{% include 'footer.html' %}
{% if not skip_html_head %}
</main>
{% include 'common-tail.html' %}
{% endif %}