ready to deploy

This commit is contained in:
s-pace
2018-11-07 18:28:59 +01:00
parent f52611818b
commit 18df25b13e
2 changed files with 11 additions and 12 deletions
+10 -11
View File
@@ -11,17 +11,7 @@
min-width: initial;
max-width: initial;
}
.algolia-autocomplete{
width: 100%;
height: 1.5em
}
#q{
width: 100%;
height: 100%;
}
</style>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
{% if pagename == 'index' %}
<link rel="canonical" href="https://docs.python-guide.org/"/>
@@ -120,4 +110,13 @@
<div style="text-align: center;" id="waldo-tag-2171"></div>
{% if show_copyright %}<p>&copy;{{ copyright }}</p>{% endif %}
</div>
{% endblock %}
{% endblock %}
<!-- at the end of the BODY -->
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
<script type="text/javascript"> docsearch({
apiKey: '512b0d6c0c8578bed7662f5279c2249c',
indexName: 'python-guide',
inputSelector: '#q',
debug: false // Set debug to true if you want to inspect the dropdown
});
</script>
+1 -1
View File
@@ -11,7 +11,7 @@
width: 100%;
height: 1.5em
}
#q{
#doc_search{
width: 100%;
height: 100%;
}