updated ungleich
This commit is contained in:
parent
1d18894b60
commit
949ee20a8a
15 changed files with 258 additions and 14 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
TEMPLATES = {
|
||||
'blog.html': _('Blog'),
|
||||
'page.html': _('Page'),
|
||||
}
|
||||
# TEMPLATES = {
|
||||
# 'blog_u.html': _('Blog'),
|
||||
# 'page.html': _('Page'),
|
||||
# }
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
<!-- 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 }}');"
|
||||
{% if request.current_page.pagemeta.image.url %}
|
||||
style="background-image: url('{{ request.current_page.pagemeta.image.url }}');"
|
||||
{% else %}
|
||||
style="background-image: url('{% static 'blog.ungleich.ch/img/home-bg.jpg' %}');"
|
||||
{% endif %}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "ungleichch/base.html" %}
|
||||
{% extends "base_ungleich.html" %}
|
||||
{% block base_content %}
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
{% extends "cms/ungleichch/base.html" %}
|
||||
{% extends "base_ungleich.html" %}
|
||||
{% block base_content %}
|
||||
{% endblock %}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "ungleichch/base.html" %}
|
||||
{% extends "base_ungleich.html" %}
|
||||
{% load cms_tags %}
|
||||
{% block base_content %}
|
||||
{% placeholder "page_content" %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue