refactor(body) moved body from layout to separate pages
this allows us to wrap the body with custom divs for each page if necessary
This commit is contained in:
parent
f3e0650d1b
commit
908a4608a1
4 changed files with 11 additions and 5 deletions
|
|
@ -22,4 +22,9 @@
|
|||
link.href = window.location.search.match( /print-pdf/gi ) ? 'static/css/print/pdf.css' : 'static/css/print/paper.css';
|
||||
document.getElementsByTagName( 'head' )[0].appendChild( link );
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
{{ super ()}}
|
||||
{{ body | safe }}
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue