2016-06-24 02:32:51 +00:00
|
|
|
{% load i18n cms_tags staticfiles menu_tags sekizai_tags %}
|
2015-05-23 10:03:01 +00:00
|
|
|
<!-- 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">
|
2016-06-24 02:32:51 +00:00
|
|
|
<div class="site-heading">
|
|
|
|
|
|
|
|
{% if languages|length > 1 %}
|
|
|
|
<div class="center-block">
|
|
|
|
<ul class="list-inline center-block language-chooser-list">
|
|
|
|
{% for language in languages %}
|
|
|
|
<li class="lang{% if current_language == language.0 %} active{% endif %}">
|
|
|
|
<a href="{% page_language_url language.0 %}" style="color:white;font-size:16px;"
|
|
|
|
title="{% trans "Change to language:" %} {{ language.1 }}">{{ language.1 }}</a>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
2019-05-04 07:40:09 +00:00
|
|
|
<h1>{% if request.GET.page_title %}{{request.GET.page_title}}{% else %}{% page_attribute 'page_title' %}{% endif %}</h1>
|
2016-06-24 02:32:51 +00:00
|
|
|
<hr class="small">
|
2019-05-04 07:40:09 +00:00
|
|
|
<span class="subheading">{% if request.GET.page_subtitle %}{{request.GET.page_subtitle}}{% else %}{% page_attribute 'meta_description' %}{% endif %}</span>
|
2016-06-24 02:32:51 +00:00
|
|
|
</div>
|
2015-05-23 10:03:01 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</header>
|