still cringe ngl

This commit is contained in:
MeowcaTheoRange 2022-12-06 02:39:40 -06:00 committed by GitHub
parent 3b47ad5406
commit d44f2fb73d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,9 @@ json.forEach((v, i) => {
"---": "---"
};
var funnyTable = [
"|",
"|",
"|"
];
v.appearing_characters.forEach((vv, vi) => {
chars[vv[0]] = vv[1];
@ -35,9 +38,9 @@ json.forEach((v, i) => {
}
});
if (json[i - 1]) {
funnyTable[0] = "| |";
funnyTable[1] = "| --- |";
funnyTable[2] = "| [Previous](https://meowcatheorange.github.io/Dizzy-AU/story/human-readable/" + json[i - 1].id + ") |";
funnyTable[0] += " |";
funnyTable[1] += " --- |";
funnyTable[2] += " [Previous](https://meowcatheorange.github.io/Dizzy-AU/story/human-readable/" + json[i - 1].id + ") |";
}
if (json[i + 1]) {
funnyTable[0] += " |";