diff options
| author | Yoshiki Shibukawa <shibukawa.yoshiki@dena.jp> | 2016-08-30 20:55:21 +0900 |
|---|---|---|
| committer | Yoshiki Shibukawa <shibukawa.yoshiki@dena.jp> | 2016-08-30 20:55:21 +0900 |
| commit | 3dcad933f23a5c43822d0d4c8fbd3bc6c835b713 (patch) | |
| tree | c897292ea51cc07c9ea87f39273ae4326b256078 /sphinx/themes/epub | |
| parent | 637ad2af48de9469e42b19930982598975d3b34f (diff) | |
| download | sphinx-git-3dcad933f23a5c43822d0d4c8fbd3bc6c835b713.tar.gz | |
remove header and footer from resulting epub
Diffstat (limited to 'sphinx/themes/epub')
| -rw-r--r-- | sphinx/themes/epub/layout.html | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sphinx/themes/epub/layout.html b/sphinx/themes/epub/layout.html index 541fcdba5..051d789c3 100644 --- a/sphinx/themes/epub/layout.html +++ b/sphinx/themes/epub/layout.html @@ -15,14 +15,7 @@ {# add only basic navigation links #} {% block sidebar1 %}{% endblock %} {% block sidebar2 %}{% endblock %} +{% block relbar1 %}{% 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 %} - +{% block footer %}{% endblock %} |
