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 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">
|
||||||
|
|
|
@ -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 }}
|
||||||
|
|
|
@ -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">
|
||||||
|
|
Reference in a new issue