{% extends "basic/layout.html" %} {% block htmltitle %} {{ super() }} {% endblock %} {% block extrahead %} {{ super() }} {%- if theme_favicon and not favicon %} {%- endif %} {% endblock %} {%- macro sphinxsidebar() %} {%- if render_sidebar %}
{%- block sidebarlogo %}{%- endblock %} {%- if sidebars != None %} {#- new style sidebar: explicitly include/exclude templates #} {%- for sidebartemplate in sidebars %} {%- include sidebartemplate %} {%- endfor %} {%- else %} {#- old style sidebars: using blocks -- should be deprecated #} {%- block sidebartoc %} {%- include "globaltoc.html" %} {%- endblock %} {%- block sidebarrel %} {%- include "relations.html" %} {%- endblock %} {%- if customsidebar %} {%- include customsidebar %} {%- endif %} {%- block sidebarsearch %} {%- include "searchbox.html" %} {%- endblock %} {%- block sidebarsourcelink %} {%- include "sourcelink.html" %} {%- endblock %} {%- endif %}
{%- endif %} {%- endmacro %} {% macro navBar() %} {% include "navbar.html" %} {% endmacro %} {% macro breadcrumb() %} {% include "breadcrumb.html" %} {% endmacro %} {%- block relbar1 %}{% endblock %} {%- block relbar2 %}{% endblock %} {%- block header %}{{ navBar() }}{%- endblock %} {%- block footer %} {% include "footer.html" %} {%- endblock %} {%- block content %} ## Thought it looks better without the breadcrumbs bar, and kinda redunant since we have the sidebar nav {#- block breadcrumb1 %}{{breadcrumb()}}{% endblock #}
Origen v2
:
{%- block sidebar1 %} {% if theme_show_sidebar|tobool and not theme_sidebar_right|tobool %}{{ sphinxsidebar() }}{% endif %} {% endblock %}
{%- block document %}
{%- if render_sidebar %}
{%- endif %}
{% block body %} {% endblock %}
{%- if render_sidebar %}
{%- endif %}
{%- endblock %}
{%- block sidebar2 %}{% if theme_show_sidebar|tobool and theme_sidebar_right|tobool %}{{ sphinxsidebar() }}{% endif %}{% endblock %}
{%- endblock %}