skip_html_head should only include the actual content, with no HTML boilerplate
This commit is contained in:
parent
d18adc5220
commit
231b76246f
1 changed files with 4 additions and 3 deletions
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in a new issue