skip_header should also skip the application header
This commit is contained in:
parent
830d558140
commit
069471188b
2 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{% with title=title or 'Platypush blog', styles=['/css/blog.css', '/css/code.css'] %}
|
||||
{% with title=title or 'Platypush blog', skip_header=skip_header, styles=['/css/blog.css', '/css/code.css'] %}
|
||||
{% include 'common-head.html' %}
|
||||
{% endwith %}
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
<title>{{ title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
{% if skip_header == False %}
|
||||
<header>
|
||||
<div class="left">
|
||||
<a href="/">
|
||||
|
@ -28,3 +29,4 @@
|
|||
</a>
|
||||
</div>
|
||||
</header>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue