File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 11
11
</ script >
12
12
{%- endblock %}
13
13
14
+ {% block sidebartitle %}
15
+ {% if theme_display_version %}
16
+ {%- set nav_version = version %}
17
+ {% if READTHEDOCS and current_version %}
18
+ {%- set nav_version = current_version %}
19
+ {% endif %}
20
+ {% if nav_version %}
21
+ < div class ="version ">
22
+ {{ nav_version }}
23
+ </ div >
24
+ {% endif %}
25
+ {% endif %}
26
+ < div class ="searchbox ">
27
+ < script async src ="https://cse.google.com/cse.js?cx=e65585f8c3ea1440e "> </ script >
28
+ < div class ="gcse-search "> </ div >
29
+ </ div >
30
+ <!-- JavaScript to remove search-icon background image -->
31
+ < script >
32
+ window . addEventListener ( 'load' , function ( ) {
33
+ var input = document . querySelector ( '.gsc-input input[type=text]' ) ;
34
+ if ( input ) {
35
+ input . style . backgroundImage = 'none' ;
36
+ }
37
+ } ) ;
38
+ </ script >
39
+ {% endblock %}
14
40
15
41
{% block footer %}
16
42
{{ super() }}
You can’t perform that action at this time.
0 commit comments