skip_header should also skip the application header

This commit is contained in:
Fabio Manganiello 2021-01-26 02:12:43 +01:00
parent 830d558140
commit 069471188b
2 changed files with 3 additions and 1 deletions

View file

@ -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' %} {% include 'common-head.html' %}
{% endwith %} {% endwith %}

View file

@ -14,6 +14,7 @@
<title>{{ title }}</title> <title>{{ title }}</title>
</head> </head>
<body> <body>
{% if skip_header == False %}
<header> <header>
<div class="left"> <div class="left">
<a href="/"> <a href="/">
@ -28,3 +29,4 @@
</a> </a>
</div> </div>
</header> </header>
{% endif %}