1
Fork 0

Use header template correctly

This commit is contained in:
Jake Howard 2016-12-19 09:32:54 +00:00
parent 078aeb3d3d
commit eacdd9f63c
3 changed files with 3 additions and 12 deletions

View file

@ -5,7 +5,7 @@
{% block body_class %}template-blogpage{% endblock %} {% block body_class %}template-blogpage{% endblock %}
{% block content %} {% block content %}
{% include 'common/header.html' with page=page %} {% include 'common/header.html' %}
<section> <section>
<div class="container"> <div class="container">
<p class="text-right small"> <p class="text-right small">

View file

@ -5,16 +5,7 @@
{% block body_class %}template-contentpage{% endblock %} {% block body_class %}template-contentpage{% endblock %}
{% block content %} {% block content %}
<section class="bg-primary"> {% include 'common/header' %}
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 text-center">
<h1 class="section-heading">{{ page.title }}</h1>
<hr class="light">
</div>
</div>
</div>
</section>
<section> <section>
<div class="container"> <div class="container">
{{ page.body|richtext }} {{ page.body|richtext }}

View file

@ -5,7 +5,7 @@
{% block body_class %}template-projectpage{% endblock %} {% block body_class %}template-projectpage{% endblock %}
{% block content %} {% block content %}
{% include 'common/header.html' with page=page %} {% include 'common/header.html' %}
<section> <section>
<div class="container"> <div class="container">
<p class="text-right small"> <p class="text-right small">