summaryrefslogtreecommitdiff
path: root/sphinx/themes/epub/layout.html
blob: 1f5ad077fd60598f506e61ba86f84bc404982f2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{#
    epub/layout.html
    ~~~~~~~~~~~~~~~~

    Sphinx layout template for the epub theme.

    :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
    :license: BSD, see LICENSE for details.
#}
{% extends "basic/layout.html" %}

{# add only basic navigation links #}
{% block sidebar1 %}{% endblock %}
{% block sidebar2 %}{% endblock %}
{% block relbar2 %}{% endblock %}
{% block linktags %}{% endblock %}

{# redefine relbar1 and footer to only call super if options are true #}
{%- block relbar1 %}
{% if theme_relbar1|tobool %}{{ super() }}{% endif %}
{%- endblock %}
{%- block footer %}
{% if theme_footer|tobool %}{{ super() }}{% endif %}
{%- endblock %}