Consistency!

This commit is contained in:
Violet 2024-02-02 15:22:12 +00:00 committed by GitHub
parent 6deb3bea33
commit 7418f23890
3 changed files with 17 additions and 7 deletions

View file

@ -323,7 +323,8 @@ async function pageUpdate() {
addedHTML = ""
var socialsHTML = fs.readFileSync(path.join(__dirname, 'static/socials/index.html')).toString()
addedHTML += socialsHTML.substring(socialsHTML.indexOf("<h1>"), socialsHTML.indexOf("</body>"))
addedHTML += "<h2><hr>Socials</h2>"
addedHTML += socialsHTML.substring(socialsHTML.indexOf("</h1>") + 5, socialsHTML.indexOf("</body>"))
html = html.replace("{SOCIALS}", addedHTML)