1
Fork 0

add functional header image class

This commit is contained in:
Jake Howard 2016-08-24 12:34:34 +01:00
parent 255330b32f
commit 8a81224289
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -1,6 +1,6 @@
<section id="header" class="bg-primary image" data-image="{{ article.image if article else page.image }}"> <section id="header" class="bg-primary image" data-image="{{ article.image }}">
<div class="container text-center text-uppercase"> <div class="container text-center text-uppercase">
<h1 class="section-heading">{{ article.title if article else page.title }}</h1> <h1 class="section-heading">{{ article.title }}</h1>
<hr class="light"> <hr class="light">
</div> </div>
</section> </section>