Use header template correctly
This commit is contained in:
parent
078aeb3d3d
commit
eacdd9f63c
3 changed files with 3 additions and 12 deletions
|
@ -5,7 +5,7 @@
|
|||
{% block body_class %}template-blogpage{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% include 'common/header.html' with page=page %}
|
||||
{% include 'common/header.html' %}
|
||||
<section>
|
||||
<div class="container">
|
||||
<p class="text-right small">
|
||||
|
|
|
@ -5,16 +5,7 @@
|
|||
{% block body_class %}template-contentpage{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<section class="bg-primary">
|
||||
<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>
|
||||
{% include 'common/header' %}
|
||||
<section>
|
||||
<div class="container">
|
||||
{{ page.body|richtext }}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
{% block body_class %}template-projectpage{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% include 'common/header.html' with page=page %}
|
||||
{% include 'common/header.html' %}
|
||||
<section>
|
||||
<div class="container">
|
||||
<p class="text-right small">
|
||||
|
|
Reference in a new issue