actually use image in header
This commit is contained in:
parent
b8fb7dc373
commit
507692f264
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,8 @@
|
|||
<section id="header" class="bg-primary image" data-image="{{ page.main_image }}">
|
||||
{% load wagtailimages_tags %}
|
||||
|
||||
{% image page.main_image original as main_image %}
|
||||
|
||||
<section id="header" class="bg-primary image" data-image="{{ main_image.url }}">
|
||||
<div class="container text-center text-uppercase">
|
||||
<h1 class="section-heading">{{ page.title }}</h1>
|
||||
<hr class="light">
|
||||
|
|
Reference in a new issue