2015-05-23 10:03:01 +00:00
|
|
|
{% load cms_tags staticfiles %}
|
|
|
|
<!-- Page Header -->
|
|
|
|
<!-- Set your background image for this header on the line below. -->
|
|
|
|
<header class="intro-header"
|
2016-04-03 09:46:25 +00:00
|
|
|
{% if request.current_page.pagemeta.image.url %}
|
|
|
|
style="background-image: url('{{ request.current_page.pagemeta.image.url }}');"
|
2015-05-23 10:03:01 +00:00
|
|
|
{% else %}
|
|
|
|
style="background-image: url('{% static 'blog.ungleich.ch/img/home-bg.jpg' %}');"
|
|
|
|
{% endif %}
|
|
|
|
>
|
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
|
|
|
<div class="site-heading">
|
|
|
|
<h1> {% page_attribute 'page_title' %} </h1>
|
|
|
|
<hr class="small">
|
|
|
|
<span class="subheading"> {% page_attribute 'meta_description' %}</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</header>
|