<nav class="bd-links" id="bd-docs-nav" aria-label="{{ _('Main navigation') }}">
    <div class="bd-toc-item active">
      {% set open_first = false %}
      {% if pagename == 'tutorials' %}
      {% set open_first = true %}
      {% endif %}
      {{ generate_sidebar_nav("sidebar",
                           maxdepth=theme_navigation_depth|int,
                           collapse=theme_collapse_navigation|tobool,
                           includehidden=True,
                           titles_only=True,
                           open_first=open_first) }}
    </div>
  </nav>
  