Compare commits
No commits in common. "a5793e087c76bcfef22fcdc7b3c9f2e86bc0ccd4" and "7bfd3094adb7663f82d32f9d855ba1d35705a0a7" have entirely different histories.
a5793e087c
...
7bfd3094ad
|
@ -2,6 +2,10 @@
|
||||||
<html>
|
<html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.9.2/p5.min.js"
|
||||||
|
integrity="sha512-eu9vkh+EbAsW3fMmPTj/DP5W3UegIdu0Z/OABMocvoofx43MYBkcQ9hRIVxZndV1vcCYQwBg+U1PkWl04TD0Jg=="
|
||||||
|
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
||||||
|
|
||||||
<link rel="preconnect" href="https://rsms.me/">
|
<link rel="preconnect" href="https://rsms.me/">
|
||||||
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
|
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
|
||||||
|
|
||||||
|
@ -25,6 +29,10 @@
|
||||||
<meta name=" viewport" content="width=device-width, initial-scale=1.0">
|
<meta name=" viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/kimeiga/bahunya/dist/bahunya.min.css">
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/kimeiga/bahunya/dist/bahunya.min.css">
|
||||||
|
|
||||||
|
<style>
|
||||||
|
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -63,10 +71,8 @@
|
||||||
const renderer = document.getElementById('renderer');
|
const renderer = document.getElementById('renderer');
|
||||||
const return_back = document.getElementById("return_back");
|
const return_back = document.getElementById("return_back");
|
||||||
const req = await fetch("/blogs/" + uriParams.get("md"));
|
const req = await fetch("/blogs/" + uriParams.get("md"));
|
||||||
const giscus = document.querySelector(".giscus");
|
|
||||||
if (req.status != 200) {
|
if (req.status != 200) {
|
||||||
error.style.display = "block";
|
error.style.display = "block";
|
||||||
giscus.style.display = "none";
|
|
||||||
} else {
|
} else {
|
||||||
let text = await req.text();
|
let text = await req.text();
|
||||||
const metadata = parseMetadata(text);
|
const metadata = parseMetadata(text);
|
||||||
|
|
Loading…
Reference in a new issue