blob: 84956b9f78620a463758140d627f0aa7d48e964c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<li class="navSearchWrapper">
<input id="{{ include.inputselector }}" type="search" />
</li>
<script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script>
<script>
// For Algolia search
(function() {
// Algolia
docsearch({
apiKey: '{{ site.searchconfig.apikey }}',
indexName: '{{ site.searchconfig.indexname }}',
inputSelector: '#{{ include.inputselector }}',
});
}());
</script>
|