thp/doc-generator/static/template.html

43 lines
1.5 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/tailwind/output.css" rel="stylesheet">
<link href="/styles/global.css" rel="stylesheet" />
2023-03-31 23:23:46 +00:00
<link href="/styles/xcode-colors.css" rel="stylesheet" />
<title>Misti</title>
<!-- Google fonts - Inter -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
</head>
<body>
2023-04-11 02:10:53 +00:00
<div class="grid" style="grid-template-columns: 12rem 12rem calc(100vw - 24rem);">
<div class="text-sm p-4 h-screen py-12 sticky top-0 overflow-y-scroll overflow-x-hidden border-r border-border-color">
<p class="font-extrabold text-5xl text-center">Misti</p>
{{pages}}
</div>
2023-04-06 00:39:51 +00:00
<div class="text-sm p-4 h-screen py-12 sticky top-0 overflow-y-scroll overflow-x-hidden border-r border-border-color">
{{sidebar}}
</div>
2023-04-11 02:10:53 +00:00
<div class="marked px-8 max-w-screen-lg">
{{markdown}}
</div>
</div>
<script>
// Inter - Google fonts - load here to avoid interrupting the page
const linkEl = document.createElement("link");
linkEl.href = "https://fonts.googleapis.com/css2?family=Inter:wght@100;300;400;500;700&display=swap";
linkEl.rel = "stylesheet";
document.head.appendChild(linkEl);
</script>
</body>
</html>