Home button on the bottom of every page now !!!
This commit is contained in:
parent
e6e8228a80
commit
1d16b944cc
6 changed files with 9 additions and 14 deletions
2
index.js
2
index.js
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue