Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0c33039

Browse files
committed
Update scripts block
1 parent 233f0bb commit 0c33039

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/_templates/search.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{% extends "layout.html" %}
22
{% set title = _('Search') %}
3-
{% set script_files = script_files + ['_static/searchtools.js'] %}
3+
{%- block scripts %}
4+
{{ super() }}
5+
<script type="text/javascript" src="{{ pathto('_static/searchtools.js', 1) }}"></script>
6+
{%- endblock %}
47
{% block body %}
58
<h1 id="search-documentation">{{ _('Search') }}</h1>
69
<p>

0 commit comments

Comments
 (0)