Blank out the regular secondary menu block

... we're talking twig blocks here, as printed in the Agarica theme inheriting from
the Octavia theme which inherits it from the Bulma theme.
This commit is contained in:
benjamin melançon 2018-12-16 23:05:49 -05:00
parent f26fbe6552
commit 3303f808d6

View file

@ -40,6 +40,13 @@
{% set header_section_attributes = header_section_attributes.addClass(['hero']).setAttribute('data-headerbg', 'light') %}
{% endif %}
{# We do not want the secondary menu printed where Bulma's page.html.twig prints
it; we want it with the header section which may be printed in node content.
To make that possible the regionincontent module is used; but all that is
handled elsewhere (including immediately below); here we just blank it out. #}
{% block secondary_menu %}
{% endblock secondary_menu %}
{% block header %}
{# We've moved the header section to the content level for nodes. #}
{% if not node %}