|
13 | 13 | <link href="/css/neovim-hi.css" rel="stylesheet">
|
14 | 14 | <link rel="canonical" href="{{ site.url }}{% if page.canonical_url %}{{ page.canonical_url }}{% else %}{{ page.url }}{% endif %}" />
|
15 | 15 |
|
16 |
| - <!-- v3 --> |
17 |
| - <!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3" /> --> |
18 |
| - <!-- legacy --> |
19 |
| - <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" /> |
| 16 | + <!-- algolia docsearch https://docsearch.algolia.com/docs/docsearch-v3/ --> |
| 17 | + <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3" /> |
| 18 | + <link rel="preconnect" href="https://X185E15FPG-dsn.algolia.net" crossorigin /> |
| 19 | + |
20 | 20 | </head>
|
21 | 21 |
|
22 | 22 | <body>
|
23 |
| - testtttttttttttt |
24 |
| - <!-- <div id="docsearch"></div> --> |
25 |
| - <input id="docsearch"></input> |
26 |
| - |
27 |
| - testtttttttttttt |
28 | 23 | {{ content }}
|
29 | 24 |
|
30 |
| - testtttttttttttt |
31 | 25 | {% include footer.html %}
|
32 | 26 |
|
33 | 27 | {%- comment -%}Only used in bountysource{%- endcomment -%}
|
|
36 | 30 | <script src="/js/sponsors.js"></script>
|
37 | 31 | <script src="/js/bootstrap.min.js"></script>
|
38 | 32 |
|
39 |
| - <!-- Before the closing </body> --> |
40 |
| - <script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> |
41 |
| - <script> |
42 |
| - docsearch({ |
43 |
| - // Your Algolia Application ID |
44 |
| - appId: 'R2IYF7ETH7', |
45 |
| - // Your Search API Key |
46 |
| - apiKey: '599cec31baffa4868cae4e79f180729b', |
47 |
| - // The index populated by the DocSearch scraper |
48 |
| - indexName: 'docsearch', |
49 |
| - inputSelector: '#docsearch', |
50 |
| - // Set debug to true to inspect the dropdown |
51 |
| - debug: true, |
52 |
| - }); |
53 |
| - </script> |
54 |
| - |
55 |
| - <!-- |
| 33 | + <!-- algolia docsearch https://docsearch.algolia.com/docs/docsearch-v3/ --> |
56 | 34 | <script src="https://cdn.jsdelivr.net/npm/@docsearch/js@3"></script>
|
57 | 35 | <script type="module">
|
58 |
| - import docsearch from '@docsearch/js'; |
59 |
| -
|
60 |
| - import '@docsearch/css'; |
61 |
| -
|
62 | 36 | docsearch({
|
63 | 37 | container: '#docsearch',
|
64 |
| - appId: 'R2IYF7ETH7', |
65 |
| - apiKey: '599cec31baffa4868cae4e79f180729b', |
66 |
| - indexName: 'docsearch', |
| 38 | + appId: 'X185E15FPG', |
| 39 | + apiKey: 'b5e6b2f9c636b2b471303205e59832ed', |
| 40 | + indexName: 'nvim', |
67 | 41 | });
|
68 |
| - //docsearch({ |
69 |
| - // container: '#docsearch', |
70 |
| - // appId: 'YOUR_APP_ID', |
71 |
| - // indexName: 'YOUR_INDEX_NAME', |
72 |
| - // apiKey: 'YOUR_SEARCH_API_KEY', |
73 |
| - //}); |
74 | 42 | </script>
|
75 |
| - --> |
| 43 | + |
76 | 44 | </body>
|
77 | 45 | </html>
|
0 commit comments