Commit f0fe0eff authored by Milan van Stiphout's avatar Milan van Stiphout
Browse files

Fixed header_image overrides.

parent 77a35954
{% extends 'base.html' %}
{% load staticfiles compress %}
{{ block.super }}
<div
class="header-image container"
style="background-image: url('{% block header_image %}{% static "images/header_banners/banner3.jpg" %}{% endblock header_image%}')">
</div>
{% compress css %}
<link href="{% static "education/css/style.scss" %}" rel="stylesheet" type="text/x-scss">
{% endcompress %}
{% block css_head %}
{{ block.super }}
{% compress css %}
<link href="{% static "education/css/style.scss" %}" rel="stylesheet" type="text/x-scss">
{% endcompress %}
{% endblock %}
{% block header_image %}{% static "images/header_banners/banner3.jpg" %}{% endblock header_image%}
......@@ -6,15 +6,13 @@
{% block css_head %}
{{ block.super }}
<div
class="header-image container"
style="background-image: url('{% block header_image %}{% static "images/header_banners/banner7.jpg" %}{% endblock header_image%}')">
</div>
{% compress css %}
<link href="{% static "photos/css/style.scss" %}" rel="stylesheet" type="text/x-scss">
{% endcompress %}
{% endblock %}
{% block header_image %}{% static "images/header_banners/banner7.jpg" %}{% endblock %}
{% block body %}
<h1>{{ album.title }}
<span class="title-meta clearfix">
......
......@@ -6,15 +6,13 @@
{% block css_head %}
{{ block.super }}
<div
class="header-image container"
style="background-image: url('{% block header_image %}{% static "images/header_banners/banner7.jpg" %}{% endblock header_image%}')">
</div>
{% compress css %}
<link href="{% static 'photos/css/style.scss' %}" rel="stylesheet" type="text/x-scss">
{% endcompress %}
{% endblock %}
{% block header_image %}{% static "images/header_banners/banner7.jpg" %}{% endblock header_image%}
{% block body %}
<h1>{% trans "Photos" %}</h1>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment