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

View file

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