From 3303f808d6b9701dc69faecc14f5f46e61947a60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sun, 16 Dec 2018 23:05:49 -0500 Subject: [PATCH] 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. --- agaric/templates/layout/page.html.twig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/agaric/templates/layout/page.html.twig b/agaric/templates/layout/page.html.twig index 310b5a5..5ce751a 100644 --- a/agaric/templates/layout/page.html.twig +++ b/agaric/templates/layout/page.html.twig @@ -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 %}