-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
59 lines (49 loc) · 2.18 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html;">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">
<link rel="icon" type="image/png" sizes="128x128" href="img/logo/128x128-Favicon-Purple.png"/>
<title>Blitz</title>
<link type="text/css" rel="stylesheet" href="https://neighborhood.org/localsite/css/base.css" id="/localsite/css/base.css" />
<script type="text/javascript" src="https://neighborhood.org/localsite/js/d3.v5.min.js" id="/localsite/js/d3.v5.min.js"></script>
<script type="text/javascript" src="https://neighborhood.org/localsite/js/jquery.min.js" id="/localsite/js/jquery.min.js"></script>
<script type="text/javascript" src="https://neighborhood.org/localsite/js/showdown.min.js" id="/localsite/js/showdown.min.js"></script>
<!--
<script type="text/javascript" src="https://neighborhood.org/localsite/js/navigation.js" id="/localsite/js/navigation.js"></script>
-->
<script type="text/javascript" src="https://neighborhood.org/localsite/js/localsite.js"></script>
<script>
if(typeof param=='undefined'){ var param={}; }
param.headerLogo = "<a href='https://blitzjs.com'><img src='img/logo/blitz.png' style='width:90px;padding-top:4px'></a>";
document.addEventListener('hashChangeEvent', function (elem) {
loadPageMarkdown();
}, false);
$(document).ready(function () {
loadPageMarkdown()
});
function loadPageMarkdown() {
let hash = getHash(); // Includes hiddenhash
$("#readmeDiv").html("");
// Load a markdown page relative to current directory
if (hash.display) { // To do: walk an array of hash.display values. Move into a function within localsite.js
loadMarkdown(hash.display, "readmeDiv", "_parent");
} else {
loadMarkdown("README.md", "readmeDiv", "_parent");
//loadMarkdown("side.md", "sideDiv", "_parent");
}
}
</script>
</head>
<body>
<div class="content contentpadding" style="padding-top: 0px">
<br>
<a href='https://blitzjs.com'><img src='img/logo/blitz.png' style='width:90px;padding-top:4px'></a>
<hr>
<div id="readmeDiv"></div>
<div id="sideDiv"></div>
</div>
</body>
</html>