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

Skip to content

Commit 0360152

Browse files
author
s-pace
committed
fixing position of the script
1 parent 47934d5 commit 0360152

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

docs/_templates/layout.html

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,14 @@
6363
ga('create', 'UA-37242602-11', 'auto');
6464
ga('send', 'pageview');
6565
</script>
66+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
67+
<script type="text/javascript"> docsearch({
68+
apiKey: '512b0d6c0c8578bed7662f5279c2249c',
69+
indexName: 'python-guide',
70+
inputSelector: '#q',
71+
debug: false // Set debug to true if you want to inspect the dropdown
72+
});
73+
</script>
6674
{% endblock %}
6775

6876
{# From: https://github.com/bitprophet/alabaster/blob/5f249677242be96601e034edb3697b7482a6abcf/alabaster/layout.html #}
@@ -120,13 +128,4 @@
120128
<div style="text-align: center;" id="waldo-tag-2171"></div>
121129
{% if show_copyright %}<p>&copy;{{ copyright }}</p>{% endif %}
122130
</div>
123-
{% endblock %}
124-
<!-- at the end of the BODY -->
125-
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
126-
<script type="text/javascript"> docsearch({
127-
apiKey: '512b0d6c0c8578bed7662f5279c2249c',
128-
indexName: 'python-guide',
129-
inputSelector: '#q',
130-
debug: false // Set debug to true if you want to inspect the dropdown
131-
});
132-
</script>
131+
{% endblock %}

0 commit comments

Comments
 (0)