2023-01-05 04:18:04 +00:00
|
|
|
<!DOCTYPE html>
|
2023-01-05 20:58:03 +00:00
|
|
|
<html class="<%- pageData.tags.join(' ') %>">
|
2023-01-05 04:18:04 +00:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<title></title>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<link rel="stylesheet" href="/a/system/main.css">
|
|
|
|
<link rel="stylesheet" href="/a/system/page.css">
|
|
|
|
<link rel="stylesheet" href="/assets/theme.css">
|
|
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
2023-01-05 20:58:03 +00:00
|
|
|
<link href="https://fonts.googleapis.com/css2?family=Lato&family=Montserrat:wght@800;900&display=swap" rel="stylesheet">
|
|
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,500,1,200" />
|
|
|
|
<noscript><style> .ois { display: none }</style></noscript>
|
2023-01-05 04:18:04 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="header">
|
2023-01-05 20:58:03 +00:00
|
|
|
<button class="menubutton material-symbols-outlined" onclick="toggleSidebar()">toc</button>
|
|
|
|
<span class="title"><%- allPages.wikiData.name[0] %> <span class="hideonmobile"><%- allPages.wikiData.name[1] %></span></span>
|
2023-01-05 04:18:04 +00:00
|
|
|
</div>
|
|
|
|
<div id="body">
|
|
|
|
<div id="sidebar">
|
|
|
|
<div id="sbheader">
|
2023-01-05 20:58:03 +00:00
|
|
|
<input type="text" id="searchbar" class="ois" placeholder="Type here to search..." />
|
|
|
|
<button class="overinput ois"></button>
|
|
|
|
<button class="clearinput ois material-symbols-outlined">clear</button>
|
2023-01-05 04:18:04 +00:00
|
|
|
</div>
|
|
|
|
<div id="searchNodes">
|
2023-01-05 20:58:03 +00:00
|
|
|
<% Object.entries(allPages.pages).forEach(function([name, data]){ %>
|
|
|
|
<%- include('system/fullwidth', {
|
|
|
|
name,
|
|
|
|
data,
|
|
|
|
allPages,
|
|
|
|
redirect:false
|
|
|
|
}); %>
|
|
|
|
<% }); %>
|
|
|
|
<% Object.entries(allPages.redirects).forEach(function([name, data]){ %>
|
|
|
|
<%- include('system/fullwidth', {
|
|
|
|
name,
|
|
|
|
data,
|
|
|
|
allPages,
|
|
|
|
redirect:true
|
|
|
|
}); %>
|
2023-01-05 04:18:04 +00:00
|
|
|
<% }); %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="index">
|
|
|
|
<div id="inheader">
|
2023-01-05 20:58:03 +00:00
|
|
|
<span id="headertext"><%- pageName.replace(/_/g, " ") %></span>
|
2023-01-05 04:18:04 +00:00
|
|
|
<div class="taglist">
|
2023-01-05 20:58:03 +00:00
|
|
|
<% pageData.tags.forEach(function(tag){ %>
|
2023-01-05 04:18:04 +00:00
|
|
|
<%- include("system/tag", {
|
2023-01-05 20:58:03 +00:00
|
|
|
allPages,
|
|
|
|
tag
|
2023-01-05 04:18:04 +00:00
|
|
|
}) %>
|
|
|
|
<% }); %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="page">
|
2023-01-05 20:58:03 +00:00
|
|
|
<%- include(pageData.location); %>
|
2023-01-05 04:18:04 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script src="/a/system/searchNodes.js"></script>
|
2023-01-05 20:58:03 +00:00
|
|
|
<script src="/a/system/sidebar.js"></script>
|
2023-01-05 04:18:04 +00:00
|
|
|
</body>
|
|
|
|
</html>
|