<div class="sidebar-tree">
  {{ neocrym_sphinx_theme_navigation_tree }}
  {% if versions %}
    <p class="caption"><span class="caption-text">Versions (Branches)</span></p>
    <ul>
        {% for item in versions.branches %}
          {% if current_version.name == item.name %}
            <li class="current current-page toctree-l1"><a class="current reference internal" href="{{ item.url }}">{{ item.name }}</a></li>
          {% else %}
            <li class="toctree-l1"><a class="reference internal" href="{{ item.url }}">{{ item.name }}</a></li>
          {% endif %}
        {% endfor %}
    </ul>
    <p class="caption"><span class="caption-text">Versions (Tags)</span></p>
    <ul>
        {% for item in versions.tags %}
          {% if current_version.name == item.name %}
            <li class="current current-page toctree-l1"><a class="current reference internal" href="{{ item.url }}">{{ item.name }}</a></li>
          {% else %}
            <li class="toctree-l1"><a class="reference internal" href="{{ item.url }}">{{ item.name }}</a></li>
          {% endif %}
        {% endfor %}
    </ul>
  {% endif %}
</div>
