From eacdd9f63c47b8b4bccd6be592c6ecbc8b26d8f7 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 19 Dec 2016 09:32:54 +0000 Subject: [PATCH] Use header template correctly --- templates/blog/blog_page.html | 2 +- templates/pages/simple_content_page.html | 11 +---------- templates/projects/project_page.html | 2 +- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/templates/blog/blog_page.html b/templates/blog/blog_page.html index 9d545c6..9afe3bd 100644 --- a/templates/blog/blog_page.html +++ b/templates/blog/blog_page.html @@ -5,7 +5,7 @@ {% block body_class %}template-blogpage{% endblock %} {% block content %} - {% include 'common/header.html' with page=page %} + {% include 'common/header.html' %}

diff --git a/templates/pages/simple_content_page.html b/templates/pages/simple_content_page.html index f716346..61fdf2c 100644 --- a/templates/pages/simple_content_page.html +++ b/templates/pages/simple_content_page.html @@ -5,16 +5,7 @@ {% block body_class %}template-contentpage{% endblock %} {% block content %} -

-
-
-
-

{{ page.title }}

-
-
-
-
-
+ {% include 'common/header' %}
{{ page.body|richtext }} diff --git a/templates/projects/project_page.html b/templates/projects/project_page.html index a29422e..6572454 100644 --- a/templates/projects/project_page.html +++ b/templates/projects/project_page.html @@ -5,7 +5,7 @@ {% block body_class %}template-projectpage{% endblock %} {% block content %} - {% include 'common/header.html' with page=page %} + {% include 'common/header.html' %}