{% extends "basic/layout.html" %} {% if not theme_project_icon and favicon %} {% set theme_project_icon = pathto('_static/' ~ theme_touch_icon, 1) + favicon %} {% endif %} {% if not title or "no title" in title %} {% if pagename == "index" %} {% set title = project %} {% else %} {% set title = pagename %} {% endif %} {% endif %} {%- block extrahead %} {{ super() }} {% if theme_touch_icon %} {% endif %} {% if theme_canonical_url %} {% endif %} {% if theme_metadata %} {% if theme_metadata.enable %} {% endif %} {% endif %} {% if theme_twitter_metadata %} {% if theme_twitter_metadata.enable %} {% endif %} {% endif %} {% endblock %} {%- block document %}
{% if theme_project_icon %} {% endif %} {{ project }}
{% for navbar_link in theme_navbar_links %} {{ navbar_link[0] }} {% endfor %}
{% if theme_has_left_sidebar and not pagename.endswith(('.single')) and not pagename.endswith(('.right')) %} {% if (pagename != 'index') or (pagename == 'index' and not theme_index_is_single) %} {% if pagename not in theme_right_sidebar_only and pagename not in theme_no_sidebar %} {% set render_left_sidebar = True %} {% endif %} {% endif %} {% endif %} {% if render_left_sidebar %} {% endif %}
{% block body %} {% endblock %}
{% if theme_show_navigators %} {% if (pagename != 'index') or (pagename == 'index' and theme_show_navigators_in_index == True) %} {% endif %} {% endif %}
{% if theme_has_right_sidebar and not pagename.endswith(('.single')) and not pagename.endswith(('.left')) %} {% if (pagename != 'index') or (pagename == 'index' and not theme_index_is_single) %} {% if pagename not in theme_left_sidebar_only and pagename not in theme_no_sidebar %} {% endif %} {% endif %} {% endif %}
{%- endblock %} {% block footer %} {% if theme_collapsible_sidebar == True %} {% endif %} {% endblock %} {# do not display relbars nor sidebars #} {% block relbar1 %}{% endblock %} {% block relbar2 %}{% endblock %} {% block sidebar1 %}{% endblock %} {% block sidebar2 %}{% endblock %}