-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
33 lines (28 loc) · 1.3 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
<!DOCTYPE html>
<html>
<head>
<title>Find</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta name="description" content="">
<link rel="shortcut icon" href="./assets/favicon.ico">
<!-- define the open search so find is easily "discoverable" as a search engine
`title` property should match `ShortName` key of the xml -->
<link rel="search" type="application/opensearchdescription+xml" href="./assets/opensearch.xml" title="Find" />
<!-- the main Find! script. Loads and parse user query from URL, then redirects if any -->
<script type="module">
import Find from "./src/index.js"
// initialize the app (to get the user hash/search param as input to find)
Find.init();
</script>
<!-- if this loads, means user did not request a Find! search in URL, load style then UI js -->
<link href="./src/styles/index.css" rel="stylesheet" type="text/css" />
<script type="module" async defer src="./src/ui/index.js"></script>
<!-- declare the site as a web-app -->
<link rel="manifest" href="./assets/manifest.json">
</head>
<body>
<!-- we send a cloudflare cookie beacon to number of page load for/and warn user to add an advert-blocker -->
<i4k-find-app class="App" cf-beacon="9852254f653c405f9aca2a672ec3ad6e"></i4k-find-app>
</body>
</html>