{% comment %}
    basic/sidebar.html
    ~~~~~~~~~~~~~~~~~~~

    Sphinx sidebar template.

{% endcomment %}
{% load basictheme %}
{% if render_sidebar %}
    <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
            {% if logo %}
            <p class="logo">
                <a href="{{pathto.master_doc}}">
                    <img src="{{pathto.staticdir}}{{logo}}" alt="Logo" />
                </a>
            </p>
            {% endif %}
            {% if sidebars %}
            {% for sidebar in sidebars %}
                {% include sidebar %}
            {% endfor %}
            {% else %}
                {% include "localtoc.html" %}
            {% endif %}
        </div>
    </div>
{% endif %}

