-
Notifications
You must be signed in to change notification settings - Fork 1
/
heretics-2020-12-25.html
144 lines (84 loc) · 3.05 KB
/
heretics-2020-12-25.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,user-scalable=no,minimum-scale=1.0,maximum-scale=1.0" />
<meta name="description"
content="Web site designed and built by Theo Armour, resident at the Heritage">
<meta name="keywords" content="JavaScript,Markdown,GitHub,FOSS">
<meta name="date" content="2020-12-25">
<title>Heretics</title>
<!-- Copyright 2020 Theo Armour. MIT license -->
<link rel="stylesheet" href="./lib/style/style-2020-12-24.css">
<style>
:root {
/* --mnu-width: 15rem; */
--main-hue: 240;
/* 0 to 360 0=red 120=green 240=blue */
}
#MNUdivPopUp {
max-height: 40vh;
}
</style>
</head>
<body>
<!-- https://github.com/showdownjs/showdown -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/showdown/1.9.1/showdown.min.js"></script>
<script src="./lib/mnu-menu/v-2020-12-25/mnu-menu.js"></script>
<script src="./lib/grv-github-repo-tree-view/grv-github-repo-tree-view-2020-12-25.js"></script>
<script src="./lib/fo-file-open/foo-file-open-object-2020-12-25.js"></script>
<script src="./lib/fo-file-open/foz-file-open-zip-2020-07-07.js"></script>
<script src="./lib/fo-file-open/fr-file-reader-2020-07-06.js"></script>
<details id=detNavMenu class="gmd-4">
<summary id=sumNavMenu class="summary-secondary gmd-1">show || hide menu</summary>
<nav id="navMenu" class="gmd-2">
<div id=MNUdivHeader></div>
<div id=GRVdivDetails></div>
<div id="divStats"></div>
<div id="divLog"></div>
<hr>
<div id=MNUdivFooter></div>
</nav>
</details>
<main>
<div id="divContentMain"></div>
</main>
<script>
// divDescription.innerHTML = document.head.querySelector( "[ name=description ]" ).content +
// "<br><br>Update: " + document.head.querySelector( "[ name=version ]" ).content
const source = "https://github.com/heretics-sf/heretics.github.io/";
const version = document.head.querySelector( "[ name=date ]" ).content;
const description = document.head.querySelector( "[ name=description ]" ).content;
init();
function init() {
MNU.path = "./";
MNU.init();
aGithub.href = source;
//spnTitle.innerHTML = "Heretics";
spnVersion.innerHTML = version;
divDescription.innerHTML = description;
// if running on server, keeps address bar pointed to latest dev
//if ( !location.hash && location.protocol === "https:" ) {
if ( location.protocol === "https:" ) {
window.history.pushState( "", "", "./" + location.hash );
GRV.urlViewer = "";
GRV.ignoreFolders = [ "archive", "drafts", "images", "js", "lib", "src", "templates" ];
} else {
if ( location.href.includes( "pushme" ) ) {
GRV.urlViewer = "https://heretics-sf.github.io/";
} else {
GRV.urlViewer = "";
}
//GRV.ignoreFolders = [];
GRV.ignoreFolders = [ "archive", "drafts", "images", "lib" ];
}
GRV.user = "heretics-sf";
GRV.repo = "heretics-sf.github.io";
GRV.getFiles = GRV.getFilesSimple;
GRV.init();
FOO.init();
FOO.onHashChange();
}
</script>
</body>
</html>