aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--index.js2
-rw-r--r--tiers.html2
2 files changed, 3 insertions, 1 deletions
diff --git a/index.js b/index.js
index 8fb469c..a54c8d0 100644
--- a/index.js
+++ b/index.js
@@ -330,7 +330,9 @@ async function save_tierlist_with_template(filename) {
let inlineScript = `<script>\n${scriptContent}\n</script>`;
let inlineCSS = `<style>\n${styleContent}\n</style>`;
+ let inlineTitle = `<title>${serialized_tierlist.title}</title>`;
+ templateHTML = templateHTML.replace("<title>Interactive Tiers</title>", inlineTitle);
templateHTML = templateHTML.replace("</head>", inlineCSS + "\n</head>");
let updatedHTML = templateHTML.replace("</body>", jsonScript + "\n" + inlineScript + "\n</body>");
save(filename, updatedHTML);
diff --git a/tiers.html b/tiers.html
index 3e25d73..78d403e 100644
--- a/tiers.html
+++ b/tiers.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8" lang="en"/>
- <title>Exported Tier List</title>
+ <title>Interactive Tiers</title>
<link rel="stylesheet" href="/tiers.css">
<script src="/tiers.js" defer></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage