From 069471188bec1dda84335f78f85ff47a607e4bee Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 26 Jan 2021 02:12:43 +0100 Subject: [PATCH] skip_header should also skip the application header --- templates/article.html | 2 +- templates/common-head.html | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/article.html b/templates/article.html index ac8ce49..389224f 100644 --- a/templates/article.html +++ b/templates/article.html @@ -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 %} diff --git a/templates/common-head.html b/templates/common-head.html index be4d45c..4fb9e8e 100644 --- a/templates/common-head.html +++ b/templates/common-head.html @@ -14,6 +14,7 @@ {{ title }} + {% if skip_header == False %}
+ {% endif %}