Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
33 lines (32 loc) · 1.36 KB
/
Copy pathindex.html
File metadata and controls
33 lines (32 loc) · 1.36 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Constitutional Forcing — A Programme · ARC Institute of Knowware</title>
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Courier+Prime:ital,wght@0,400;0,700;1,400&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&display=swap" rel="stylesheet">
<script type="text/javascript">
// Single Page Apps for GitHub Pages
// https://github.com/rafgraph/spa-github-pages
(function(l) {
if (l.search[1] === 'p') {
var decoded = l.search.slice(1).split('&').map(function(s) {
return s.replace(/~and~/g, '&')
}).filter(function(s) {
return s.slice(0, 2) === 'p='
})[0].slice(2);
if (decoded !== l.pathname.slice(l.pathname.lastIndexOf('/') + 1)) {
var cleanPath = decoded.replace(/^\//, '');
window.history.replaceState(null, null,
l.pathname.slice(0, l.pathname.lastIndexOf('/') + 1) + cleanPath + (l.hash || '')
);
}
}
}(window.location))
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>