From 47193c34724e6b75d80bbe1ce9dc46e0344c7294 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Fri, 14 Feb 2025 00:54:21 -0800 Subject: change exported html ltiers title to match title-label --- index.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'index.js') 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 = ``; let inlineCSS = ``; + let inlineTitle = `${serialized_tierlist.title}`; + templateHTML = templateHTML.replace("Interactive Tiers", inlineTitle); templateHTML = templateHTML.replace("", inlineCSS + "\n"); let updatedHTML = templateHTML.replace("", jsonScript + "\n" + inlineScript + "\n"); save(filename, updatedHTML); -- cgit v1.2.3