From dea557d1a16c3525a1bdff5d49823894ac38f435 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sun, 22 Sep 2019 23:18:11 -0400 Subject: [PATCH] Allow sidebar to show on listing pages so facets can be seen & used Ref #15 --- .../custom/geofresco/src/templates/layout/page.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/themes/custom/geofresco/src/templates/layout/page.html.twig b/web/themes/custom/geofresco/src/templates/layout/page.html.twig index 8067182..4803ca0 100644 --- a/web/themes/custom/geofresco/src/templates/layout/page.html.twig +++ b/web/themes/custom/geofresco/src/templates/layout/page.html.twig @@ -106,8 +106,8 @@ {% endblock main_content %} {% block sidebar_first %} {# Sidebar first #} - {% if page.sidebar_first and not is_front and (node and node.bundle == 'page') %} - {# Set attributes for content. #} + {% if page.sidebar_first and not is_front and (not node or (node and node.bundle == 'page')) %} + {# Set attributes for content. #} {% if not page.sidebar_first_attributes %} {% set page = page|merge({