<nav class="global-nav do_global_nav">

    {% block logo %}
        {% include "logo/logo.tpl" class="global-nav__logo" %}
    {% endblock %}

    {% block menu %}
        {% menu id=id %}
    {% endblock %}

    {% block actions %}
        {% include "global-search/toggle-search.tpl" %}
        {% include "toggle-menu/toggle-menu.tpl" %}
        <div class="global-nav__actions cf">
            {% if m.modules.active.mod_ginger_auth %}
                {% include "_auth_link.tpl" class="login--global-nav" label_class=" " icon="icon--person" icon_before %}
                {% include "dialog-profile/button-profile.tpl" %}
            {% endif %}
            {% include "dialog-language/button-language.tpl" raw_path=m.req.raw_path %}
        </div>
        {% include "global-search/search.tpl" identifier="global-nav" %}
    {% endblock %}
</nav>

<nav class="global-nav do_global_nav">

    {% block logo %}
        {% include "logo/logo.tpl" class="global-nav__logo" %}
    {% endblock %}

    {% block menu %}
        {% menu id=id %}
    {% endblock %}

    {% block actions %}
        {% include "global-search/toggle-search.tpl" %}
        {% include "toggle-menu/toggle-menu.tpl" %}
        <div class="global-nav__actions cf">
            {% optional include "_auth_link.tpl" class="login--global-nav" label_class=" " icon="icon--person" icon_before %}
            {% include "dialog-profile/button-profile.tpl" %}
            {% include "dialog-language/button-language.tpl" raw_path=m.req.raw_path %}
        </div>
        {% include "global-search/search.tpl" identifier="global-nav" %}
    {% endblock %}
</nav>

Include profile even if mod_ginger_auth is disabled
[foundation] Include profile even if mod_ginger_auth is disabled
