For the blog section of the site, I created a section above the navbar.
Under this line, the code (the above section is the section I added above the menu bar to display a logo etc... it's named 'section id="above'
---html
{% block header %}
<!-- (2)block above is new -->
{% block above %}
<section id="above">
<div id="abovelogo">
{% include 'partials/cookiespolicy.html.twig' %}
<li><img src="{{ url('theme://images/favicon.png') }}" alt="francois-vidit.fr" title="francois-vidit.fr" height="88px" width="88px" /></li>
</div>
<div id="aboveimages">
<li><img src="{{ url('theme://images/logo_site.png') }}" alt="francois-vidit.fr" title="francois-vidit.fr" height="88px" /></li>
</div>
</section>
{% endblock %}
<header id="header">
<div id="colorgradient"></div>
<div id="logo">
<h3><a href="{{ base_url == '' ? '/' : base_url }}"><i class="fa fa-home"></i></a></h3>
</div>
<div id="navbar">
{% block header_extra %},{% endblock %}
{% block header_navigation %}
{% include 'partials/navigation.html.twig' %}
{% endblock %}
<span class="panel-activation sb-toggle-left navbar-left menu-btn fa fa-bars"></span>
</div>
</header>
{% endblock %}
This section is perfect for the blog section, but annoying for *modular pages*.
I created a `{% block above %}` and `{% endblock %}` with the idea of *calling* and avoid *calling* this part on pages that do not need it, like *modular ones*...
I have never done that before, it's not that I am afraid, it's just that I don't know where look to do it properly: I mean this has to be done properly as I feel this is the key point of the templating structure of GRAV...
Thanks in advance for the light... ☆
I precise that I am writting from France, and it's nignt right now here, so that I won't be able to react right now as I have to sleep ☆ but I'll resume tomorrow.
Thanks in advance for considering this request …