{%- if theme_sidebar_mode == 'toctree' and theme_display_toc %}
{%- if giturl_edit %} Edit page {% endif %} {%- if giturl %} Report Bug {% endif %} {%- if pdf_link %} Download PDF {% endif %}
{% if theme_display_global_toc_section %}Page {% endif %}Contents
{%- endif %}