{# dotted/layout.html ~~~~~~~~~~~~~~~~~~ Sphinx layout template for the dotted theme. :copyright: Copyright 2011 by Sphinx-users.jp, see AUTHORS. :license: MIT, see LICENSE for details. #} {% extends "basic/layout.html" %} {%- if theme_slidetoc|tobool %} {% set script_files = script_files + ['_static/dotted.js'] %} {%- endif %} {# do not display relbars #} {% block relbar1 %}{% endblock %} {% block relbar2 %}{% endblock %} {% macro nav() %}

{%- block dottedrel1 %} {%- endblock %} {%- if prev %} «  {{ prev.title }}   ::   {%- endif %} {{ _('Contents') }} {%- if next %}   ::   {{ next.title }}  » {%- endif %} {%- block dottedlrel2 %} {%- endblock %}

{% endmacro %} {% block content %}
{%- block dottedheader %} {%- if theme_full_logo != "false" %} {%- else %} {%- if logo -%} {%- endif %}

{{ shorttitle|e }}

{{ title|striptags|e }}

{%- endif %} {%- endblock %}
{{ nav() }}
{{ toctree() }}
{%- if theme_enablesidebar|tobool %} {%- block sidebar1 %} {# possible location for sidebar #} {% endblock %} {%- endif %}
{%- if render_sidebar %}
{%- endif %}
{% block body %}{% endblock %}
{%- if render_sidebar %}
{%- endif %}
{%- if theme_enablesidebar|tobool %} {%- block sidebar2 %}{{ sidebar() }}{% endblock %} {%- endif %}
{{ nav() }}
{% endblock %}