Home button on the bottom of every page now !!!

This commit is contained in:
Violet 2024-02-02 15:33:36 +00:00 committed by GitHub
parent e6e8228a80
commit 1d16b944cc
6 changed files with 9 additions and 14 deletions

View file

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