|
8 | 8 | {% feed_meta %}
|
9 | 9 | <title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title }}</title>
|
10 | 10 | <link href="/css/normalize.min.css" rel="stylesheet">
|
11 |
| - <link href="/css/bootstrap.min.css" rel="stylesheet"> |
| 11 | + <link href="/css/bootstrap.min.css" rel="stylesheet"> |
12 | 12 | <link href="/css/main.css" rel="stylesheet">
|
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 | + |
| 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" /> |
15 | 20 | </head>
|
16 | 21 |
|
17 | 22 | <body>
|
| 23 | + testtttttttttttt |
| 24 | + <!-- <div id="docsearch"></div> --> |
| 25 | + <input id="docsearch"></input> |
| 26 | + |
| 27 | + testtttttttttttt |
18 | 28 | {{ content }}
|
19 | 29 |
|
| 30 | + testtttttttttttt |
20 | 31 | {% include footer.html %}
|
21 | 32 |
|
22 |
| - {%- comment -%}Only used in bountysource{%- endcomment -%} |
23 |
| - <script src="/js/jquery.js"></script> |
| 33 | + {%- comment -%}Only used in bountysource{%- endcomment -%} |
| 34 | + <script src="/js/jquery.js"></script> |
24 | 35 | <script src="/js/sponsors-override.js"></script>
|
25 | 36 | <script src="/js/sponsors.js"></script>
|
26 |
| - <script src="/js/bootstrap.min.js"></script> |
| 37 | + <script src="/js/bootstrap.min.js"></script> |
| 38 | + |
| 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 | + <!-- |
| 56 | + <script src="https://cdn.jsdelivr.net/npm/@docsearch/js@3"></script> |
| 57 | + <script type="module"> |
| 58 | + import docsearch from '@docsearch/js'; |
| 59 | +
|
| 60 | + import '@docsearch/css'; |
| 61 | +
|
| 62 | + docsearch({ |
| 63 | + container: '#docsearch', |
| 64 | + appId: 'R2IYF7ETH7', |
| 65 | + apiKey: '599cec31baffa4868cae4e79f180729b', |
| 66 | + indexName: 'docsearch', |
| 67 | + }); |
| 68 | + //docsearch({ |
| 69 | + // container: '#docsearch', |
| 70 | + // appId: 'YOUR_APP_ID', |
| 71 | + // indexName: 'YOUR_INDEX_NAME', |
| 72 | + // apiKey: 'YOUR_SEARCH_API_KEY', |
| 73 | + //}); |
| 74 | + </script> |
| 75 | + --> |
27 | 76 | </body>
|
28 | 77 | </html>
|
0 commit comments