diff --git a/src/project/templates/main.html b/src/project/templates/main.html index c0427d5..b232884 100644 --- a/src/project/templates/main.html +++ b/src/project/templates/main.html @@ -6,7 +6,7 @@ {% block title %}{% page_attribute page_title %}{% endblock %} | Tagesschule Elementa Zug {% page_attribute 'meta_description' as meta_desc %} {% trans 'Stärken stärken. Lernen lernen. Die Schweizer Primarschule mit einem internationalen Touch. Die Elementa - Einzigartig wie Ihr Kind.' as def_meta_desc %} - +{# #} diff --git a/src/project/templates/project/includes/content_intro.html b/src/project/templates/project/includes/content_intro.html index e4f46bd..d4c8415 100644 --- a/src/project/templates/project/includes/content_intro.html +++ b/src/project/templates/project/includes/content_intro.html @@ -1,4 +1,4 @@ -{% load i18n cms_tags menu_tags thumbnail %} +{% load i18n cms_tags menu_tags thumbnail util_tags %}
@@ -14,6 +14,6 @@ {% if image %} {% thumbnail image 1600x800 box=cropping crop detail as thumb %}
+ style="background-image: url({{ thumb.url|media_bridge }})">
{% endif %}
\ No newline at end of file diff --git a/src/project/templates/project/includes/main_menu.html b/src/project/templates/project/includes/main_menu.html index 90a4c51..9ed4cfe 100644 --- a/src/project/templates/project/includes/main_menu.html +++ b/src/project/templates/project/includes/main_menu.html @@ -10,7 +10,7 @@ {% else %} diff --git a/src/project/templates/project/includes/page_item.html b/src/project/templates/project/includes/page_item.html index 626003a..9760598 100644 --- a/src/project/templates/project/includes/page_item.html +++ b/src/project/templates/project/includes/page_item.html @@ -1,4 +1,4 @@ -{% load i18n highlight thumbnail cms_tags %} +{% load i18n highlight thumbnail cms_tags util_tags %} {% if not search and not title and not text %} {% page_attribute 'page_title' page as title %} @@ -12,7 +12,7 @@ {% if image %} {% thumbnail image 1000x600 box=cropping crop detail as thumb %}
+ style="background-image: url({{ thumb.url|media_bridge }})"> {% endif %} {% if search %}{{ page.title }}{% else %}{{ title }}{% endif %} diff --git a/src/project/templates/project/plugins/content/download_section.html b/src/project/templates/project/plugins/content/download_section.html index 321cc0d..5e250bd 100644 --- a/src/project/templates/project/plugins/content/download_section.html +++ b/src/project/templates/project/plugins/content/download_section.html @@ -1,7 +1,8 @@ +{% load util_tags %}