Skip to content

Commit a6b0dbc

Browse files
committed
Remove unused blocks in the search.html template
1 parent 959f73f commit a6b0dbc

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

sphinx/themes/basic/search.html

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -45,22 +45,6 @@ <h1 id="search-documentation">{{ _('Search') }}</h1>
4545
</form>
4646
{% endblock %}
4747
{% block searchresults %}
48-
{% if search_performed %}
49-
<h2>{{ _('Search Results') }}</h2>
50-
{% if not search_results %}
51-
<p>{{ _('Your search did not match any documents. Please make sure that all words are spelled correctly and that you\'ve selected enough categories.') }}</p>
52-
{% endif %}
53-
{% endif %}
54-
<div id="search-results">
55-
{% if search_results %}
56-
<ul>
57-
{% for href, caption, context in search_results %}
58-
<li><a href="{{ pathto(item.href) }}">{{ caption }}</a>
59-
<div class="context">{{ context|e }}</div>
60-
</li>
61-
{% endfor %}
62-
</ul>
63-
{% endif %}
64-
</div>
48+
<div id="search-results"></div>
6549
{% endblock %}
6650
{% endblock %}

0 commit comments

Comments
 (0)