summaryrefslogtreecommitdiff
path: root/sphinx/themes/basic/searchbox.html
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-01-07 21:49:31 +0100
committerGeorg Brandl <georg@python.org>2010-01-07 21:49:31 +0100
commit2166bd4f8fcf7831edb563389015f29aa1a73ed9 (patch)
tree9e37303fd05f4b3bc4e0021c570c51a4ec7dc3c3 /sphinx/themes/basic/searchbox.html
parent0483cc8635b8968643afa985fb656a450ffe41bf (diff)
downloadsphinx-2166bd4f8fcf7831edb563389015f29aa1a73ed9.tar.gz
Fix compatibility with blocks in the old sidebar scheme: blocks cannot be used in included templates. Deprecate the blocks accordingly.
Diffstat (limited to 'sphinx/themes/basic/searchbox.html')
-rw-r--r--sphinx/themes/basic/searchbox.html2
1 files changed, 0 insertions, 2 deletions
diff --git a/sphinx/themes/basic/searchbox.html b/sphinx/themes/basic/searchbox.html
index fb5e0889..56d6617c 100644
--- a/sphinx/themes/basic/searchbox.html
+++ b/sphinx/themes/basic/searchbox.html
@@ -7,7 +7,6 @@
:copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
#}
-{%- block sidebarsearch %}
{%- if pagename != "search" %}
<div id="searchbox" style="display: none">
<h3>{{ _('Quick search') }}</h3>
@@ -23,4 +22,3 @@
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
{%- endif %}
-{%- endblock %}