blob: 3008a1c4373396c31e8e0855ab5d816d9772c433 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{% if page.version %}
{% assign version = page.version %}
{% else %}
{% assign version = site.latest_docs_version %}
{% endif %}
{% if page.language %}
{% assign language = page.language %}
{% else %}
{% assign language = site.language %}
{% endif %}
<script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.js"></script>
<script type="text/javascript">
docsearch({
apiKey: '{{ site.algolia.apikey }}',
indexName: '{{ site.algolia.index }}',
inputSelector: '#header-search-field',
});
</script>
|