-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (38 loc) · 1.15 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<head>
<meta charset="UTF-8" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/themes/algolia-min.css"
integrity="sha256-HB49n/BZjuqiCtQQf49OdZn63XuKFaxcIHWf0HNKte8="
crossorigin="anonymous"
/>
</head>
<body>
<header>
<div id="search-box"></div>
</header>
<main>
<div id="hits"></div>
<div id="pagination"></div>
</main>
<script type="text/html" id="hit-template">
<div class="hit">
<p class="hit-name">
{{#helpers.highlight}}{ "attribute": "firstname" }{{/helpers.highlight}}
{{#helpers.highlight}}{ "attribute": "lastname" }{{/helpers.highlight}}
</p>
</div>
</script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/algoliasearch-lite.umd.js"
integrity="sha256-MfeKq2Aw9VAkaE9Caes2NOxQf6vUa8Av0JqcUXUGkd0="
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/instantsearch.production.min.js"
integrity="sha256-6S7q0JJs/Kx4kb/fv0oMjS855QTz5Rc2hh9AkIUjUsk="
crossorigin="anonymous"
></script>
<script src="app.js"></script>
</body>