Merge remote-tracking branch 'refs/remotes/origin/master'
mmit.
This commit is contained in:
parent
b3c40bd20d
commit
de875f80de
45 changed files with 603 additions and 150 deletions
23
templates/ungleichch/_header_base.html
Normal file
23
templates/ungleichch/_header_base.html
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{% load cms_tags staticfiles %}
|
||||
<!-- Page Header -->
|
||||
<!-- Set your background image for this header on the line below. -->
|
||||
<header class="intro-header"
|
||||
{% if request.current_page.ungleichpage %}
|
||||
style="background-image: url('{{ request.current_page.ungleichpage.image.url }}');"
|
||||
{% 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue