-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
74 lines (61 loc) · 2.95 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<html lang="en" class="darkmode" prefix="og: https://ogp.me/ns#">
<head>
<meta charset="UTF-8">
<title>Emotecraft Wiki</title>
<link rel="icon" href="/assets/icon@64.webp">
<link rel="apple-touch-icon" href="/assets/icon@64.webp">
<script>
let html = document.querySelector("html");
if (localStorage.getItem("darkmode") !== null) {
let darkmode = localStorage.getItem("darkmode") == "true";
if (darkmode) {
html.classList.remove("lightmode");
html.classList.add("darkmode");
} else {
html.classList.remove("darkmode");
html.classList.add("lightmode");
}
}
</script>
<link rel="stylesheet" href="/styles/main.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:title" content="Emotecraft Wiki">
<meta property="og:description" content="The home of the official Emotecraft wiki.">
<meta property="og:image" content="/assets/icon@256.webp">
<meta property="og:type" content="website">
<meta property="og:url" content="https://emotecraft.kosmx.dev/">
<meta property="og:locale" content="en">
<meta name="description" content="The home of the official Emotecraft wiki.">
<meta name="keywords" content="Emotecraft, Emote, Emotes, Wiki, Minecraft, MC, Mod, Mods, Forge, ForgeMC, Fabric, FabricMC, Quilt, QuiltMC">
<meta name="robots" content="index, follow">
<link rel="license" href="https://github.com/Kale-Ko/Emotecraft-Wiki/blob/master/LICENSE">
</head>
<body class="loading">
<div id="sidebar-dropdown">
<img class="lightmode hidden" src="/assets/lightmode/menu.webp" width="32" height="32" alt="Open Sidebar">
<img class="darkmode" src="/assets/darkmode/menu.webp" width="32" height="32" alt="Open Sidebar">
</div>
<nav id="sidebar-parent">
<div id="sidebar"></div>
<div id="settings">
<select id="settings-language" title="Language"></select>
<button type="button" id="settings-theme" title="Theme">
<img class="lightmode hidden" src="/assets/lightmode/glyph.webp" width="24" height="24" alt="Toggle Lightmode">
<img class="darkmode" src="/assets/darkmode/glyph.webp" width="24" height="24" alt="Toggle Darkmode">
</button>
</div>
</nav>
<div id="table-of-contents-dropdown">
<img class="lightmode hidden" src="/assets/lightmode/menu.webp" width="32" height="32" alt="Open Table of Contents">
<img class="darkmode" src="/assets/darkmode/menu.webp" width="32" height="32" alt="Open Table of Contents">
</div>
<nav id="table-of-contents-parent">
<div id="table-of-contents"></div>
</nav>
<main id="main"></main>
<script src="/scripts/lib/marked.js"></script>
<script src="/scripts/lib/dompurify.js"></script>
<script src="/scripts/main.js"></script>
</body>
</html>