I have a template of type Section and display it with bricks_after_header (10) after the header.
The problem: If I activate the maintenance mode and do not render the header, the section is still displayed. I think the section should only be rendered if the header is also rendered.
in Bricks, we are rendering in the following order:
...
...
...
Before header
Header
After header
...
...
...
When you say render header (or not), you only affect the “Header” part, not the others. Because in your case, yes, not rendering that part is desired, but maybe there are users that would like to use that hook, to still render something, even if the header is not rendered, so it can’t be automatically disabled.