aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.js')
-rw-r--r--index.js2
1 files changed, 2 insertions, 0 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);
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage