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