Use instance in header
This commit is contained in:
parent
f1bf129f46
commit
4a32c62598
3 changed files with 3 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
|||
<section id="header" class="bg-primary image" data-image="{{ article.image }}">
|
||||
<section id="header" class="bg-primary image" data-image="{{ instance.image }}">
|
||||
<div class="container text-center text-uppercase">
|
||||
<h1 class="section-heading">{{ article.title }}</h1>
|
||||
<h1 class="section-heading">{{ instance.title }}</h1>
|
||||
<hr class="light">
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
<section id="header" class="bg-primary image" data-image="{{ page.image }}">
|
||||
<div class="container text-center text-uppercase">
|
||||
<h1 class="section-heading">{{ page.title }}</h1>
|
||||
<hr class="light">
|
||||
</div>
|
||||
</section>
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
{% block content %}
|
||||
{% if not page.no_container %}
|
||||
{% include 'extras/page-header.html' with context %}
|
||||
{% include 'extras/header.html' with context %}
|
||||
<section>
|
||||
<div class="container">
|
||||
{{ page.content }}
|
||||
|
|
Reference in a new issue