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:
parent
f26fbe6552
commit
3303f808d6
1 changed files with 7 additions and 0 deletions
|
@ -40,6 +40,13 @@
|
||||||
{% set header_section_attributes = header_section_attributes.addClass(['hero']).setAttribute('data-headerbg', 'light') %}
|
{% set header_section_attributes = header_section_attributes.addClass(['hero']).setAttribute('data-headerbg', 'light') %}
|
||||||
{% endif %}
|
{% 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 %}
|
{% block header %}
|
||||||
{# We've moved the header section to the content level for nodes. #}
|
{# We've moved the header section to the content level for nodes. #}
|
||||||
{% if not node %}
|
{% if not node %}
|
||||||
|
|
Loading…
Reference in a new issue