<sidebar>
  <h2>Content Map</h2>
      {% set toctree = toctree(maxdepth=2, collapse=theme_collapse_navigation, includehidden=True) %}
      {% set toctree = toctree|replace("<ul>", "<ul class=\"custom-dropdown-menu\">", -1)  %}
      {% set toctree = toctree|replace("<ul class=\"current\">", "<ul class=\"custom-dropdown-menu\">", -1)  %}
      {% set toctree = toctree|replace("<li class=\"toctree-l1 current\">", "<li class=\"menu-item-open parent-item\">", -1)  %}
      {% set toctree = toctree|replace("<li class=\"toctree-l1\">", "<li class=\"menu-item-closed parent-item\">", -1)  %}
      {% set toctree = toctree|replace("<a class=\"current reference internal\" href=\"\">", "<a class=\"active\">", -1)  %}
      {% set toctree = toctree|replace("<li class=\"toctree-l2\">", "<li class=\"child-item first-level no-childs\">", -1)  %}
      {% set toctree = toctree|replace("<li class=\"toctree-l2 current\">", "<li class=\"child-item first-level no-childs\">", -1)  %}
      {{ toctree }}
</sidebar>
