Commit 87e851a3 authored by Ivica Puljic's avatar Ivica Puljic Committed by Ivica Puljic
Browse files

Issue #3284179 by pivica: Add block content in region-navbar template

parent 8949ed05
Loading
Loading
Loading
Loading
+5 −0
Changes for themes/bs_bootstrap/templates/layout/region--navbar.html.twig: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -21,7 +21,12 @@
  {% endif %}
  {% do attributes.setAttribute('id', 'navbarResponsive') %}
  <div{{ attributes.addClass(classes) }}>
    {# Use block content so child themes can add a wrapper here for more layout
       control, for example for sidebar navigation, etc. #}
    {% block content %}
      {# @TODO - consider adding wrapper here for 2.x version. #}
      {{- content -}}
    {% endblock %}
    {% block offcanvas_close -%}
      {% if navbar_offcanvas_position -%}
        <a href="#" class="offcanvas-close-link btn{{ offcanvas_close_classes }}" title="{{ 'Close navigation'|t }}"><span class="label">{{ 'close'|t }}</span></a>