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 ++
tiers.html | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
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);
diff --git a/tiers.html b/tiers.html
index 3e25d73..78d403e 100644
--- a/tiers.html
+++ b/tiers.html
@@ -2,7 +2,7 @@
-
Exported Tier List
+
Interactive Tiers
--
cgit v1.2.3