Allow sidebar to show on listing pages so facets can be seen & used

Ref #15
This commit is contained in:
benjamin melançon 2019-09-22 23:18:11 -04:00
parent 135a2a371f
commit dea557d1a1

View file

@ -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({