From 98a5545d8ec2f26c5ee509bad6050062ea219989 Mon Sep 17 00:00:00 2001 From: gilsondev Date: Wed, 10 Dec 2014 15:53:48 -0200 Subject: [PATCH] Fix header cover again --- templates/archives.html | 6 +++++- templates/author.html | 6 +++++- templates/authors.html | 6 +++++- templates/categories.html | 6 +++++- templates/category.html | 6 +++++- templates/index.html | 10 +++++----- templates/page.html | 5 +++++ templates/period_archives.html | 6 +++++- templates/tags.html | 6 +++++- 9 files changed, 45 insertions(+), 12 deletions(-) diff --git a/templates/archives.html b/templates/archives.html index ee31e28..5d38c29 100755 --- a/templates/archives.html +++ b/templates/archives.html @@ -4,7 +4,11 @@ {% block header %} -
+ {% if HEADER_COVER %} +
+ {% else %} +
+ {% endif %}
diff --git a/templates/author.html b/templates/author.html index 8d0fd41..e18b291 100755 --- a/templates/author.html +++ b/templates/author.html @@ -4,7 +4,11 @@ {% block header %} -
+ {% if HEADER_COVER %} +
+ {% else %} +
+ {% endif %}
diff --git a/templates/authors.html b/templates/authors.html index 52a32f8..1eb418f 100755 --- a/templates/authors.html +++ b/templates/authors.html @@ -4,7 +4,11 @@ {% block header %} -
+ {% if HEADER_COVER %} +
+ {% else %} +
+ {% endif %}
diff --git a/templates/categories.html b/templates/categories.html index 3a11688..789f940 100755 --- a/templates/categories.html +++ b/templates/categories.html @@ -4,7 +4,11 @@ {% block header %} -
+ {% if HEADER_COVER %} +
+ {% else %} +
+ {% endif %}
diff --git a/templates/category.html b/templates/category.html index 50fcc71..129627d 100755 --- a/templates/category.html +++ b/templates/category.html @@ -4,7 +4,11 @@ {% block header %} -
+ {% if HEADER_COVER %} +
+ {% else %} +
+ {% endif %}
diff --git a/templates/index.html b/templates/index.html index 36cb895..e085bbb 100755 --- a/templates/index.html +++ b/templates/index.html @@ -29,12 +29,12 @@

{{ article.title }}

- {% if article.summary %} -

- {{ article.summary }} -

- {% endif %} + {% if article.summary %} +

+ {{ article.summary }} +

+ {% endif %}
+ {% if page.header_cover %} +
+ {% else %} +
+ {% endif %}
diff --git a/templates/period_archives.html b/templates/period_archives.html index 9211890..e45d927 100755 --- a/templates/period_archives.html +++ b/templates/period_archives.html @@ -4,7 +4,11 @@ {% block header %} -
+ {% if HEADER_COVER %} +
+ {% else %} +
+ {% endif %}
diff --git a/templates/tags.html b/templates/tags.html index de26742..076949d 100755 --- a/templates/tags.html +++ b/templates/tags.html @@ -4,7 +4,11 @@ {% block header %} -
+ {% if HEADER_COVER %} +
+ {% else %} +
+ {% endif %}