From 82448bbcebbaa50b6ff6ce103cc6cd5d5b50f3c6 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 26 Oct 2016 00:24:55 +0200 Subject: [PATCH] Add second block part (fix #257) --- app/templates/pages/page.html | 3 +++ app/templates/pages/teampage.html | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/templates/pages/page.html b/app/templates/pages/page.html index 40d89fc6..10a827bc 100644 --- a/app/templates/pages/page.html +++ b/app/templates/pages/page.html @@ -123,6 +123,9 @@ {% block products %} {% endblock %} + {% block page_sub_content_2 %} + {% endblock %} + {% block logo %} {% endblock %} diff --git a/app/templates/pages/teampage.html b/app/templates/pages/teampage.html index 04903230..fe2977d4 100644 --- a/app/templates/pages/teampage.html +++ b/app/templates/pages/teampage.html @@ -77,7 +77,7 @@ {% endblock %} {% block page_sub_content %} - {% with object.blocks.all|slice:'1' as blocks %} + {% with page.teampage.blocks.all|slice:'1' as blocks %} {% include "core/inc/block.html" %} {% endwith %} {% endblock %} @@ -112,7 +112,7 @@ {% endblock %} {% block page_sub_content_2 %} - {% with object.blocks.all|slice:'2:' as blocks %} + {% with page.teampage.blocks.all|slice:'2:' as blocks %} {% include "core/inc/block.html" %} {% endwith %} {% endblock %} -- 2.39.5