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 %}
|
||||
|
||||
<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 %}
|
||||
|
|
Loading…
Reference in a new issue