1{#
2    scrolls/layout.html
3    ~~~~~~~~~~~~~~~~~~~
4
5    Sphinx layout template for the scrolls theme, originally written
6    by Armin Ronacher.
7
8    :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
9    :license: BSD, see LICENSE for details.
10#}
11{%- extends "basic/layout.html" %}
12{%- block css %}
13    {{ super() }}
14    <link rel="stylesheet" href="_static/print.css" type="text/css" />
15{%- endblock %}
16{%- block scripts %}
17    {{ super() }}
18    <script src="{{ pathto('_static/theme_extras.js', 1) }}"></script>
19{%- endblock %}
20{# do not display relbars #}
21{% block relbar1 %}{% endblock %}
22{% block relbar2 %}{% endblock %}
23{% block content %}
24    <div id="content">
25      <div class="header">
26        <h1 class="heading"><a href="{{ pathto('index') }}"
27          title="back to the documentation overview"><span>{{ title|striptags|e }}</span></a></h1>
28      </div>
29      <div class="relnav" role="navigation" aria-label="related navigation">
30        {%- if prev %}
31        <a href="{{ prev.link|e }}">&laquo; {{ prev.title }}</a> |
32        {%- endif %}
33        <a href="{{ pathto(current_page_name)|e if current_page_name else '#' }}">{{ title }}</a>
34        {%- if next %}
35        | <a href="{{ next.link|e }}">{{ next.title }} &raquo;</a>
36        {%- endif %}
37      </div>
38      <div id="contentwrapper">
39        {%- if display_toc %}
40        <div id="toc" role="navigation" aria-label="table of contents navigation">
41          <h3>{{ _('Table of Contents') }}</h3>
42          {{ toc }}
43        </div>
44        {%- endif %}
45        <div role="main">
46        {% block body %}{% endblock %}
47        </div>
48      </div>
49    </div>
50{% endblock %}
51