From: Guillaume Pellerin Date: Tue, 25 Oct 2016 22:24:55 +0000 (+0200) Subject: Add second block part (fix #257) X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=82448bbcebbaa50b6ff6ce103cc6cd5d5b50f3c6;p=mezzo.git Add second block part (fix #257) --- 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 %}