Fixes!
This commit is contained in:
parent
7393ee2761
commit
d29300a666
2 changed files with 4 additions and 2 deletions
4
index.js
4
index.js
|
@ -323,8 +323,10 @@ async function pageUpdate() {
|
|||
addedHTML = ""
|
||||
|
||||
var socialsHTML = fs.readFileSync(path.join(__dirname, 'static/socials/index.html')).toString()
|
||||
// socialsHTML = socialsHTML.substring(0, socialsHTML.lastIndexOf("</div>"))
|
||||
addedHTML += "<h2><hr>Socials</h2>"
|
||||
addedHTML += socialsHTML.substring(socialsHTML.indexOf("</h1>") + 5, socialsHTML.lastIndexOf("</div>"))
|
||||
addedHTML += socialsHTML.substring(socialsHTML.indexOf("<div"), socialsHTML.lastIndexOf("</div>") + 6)
|
||||
console.log(addedHTML)
|
||||
|
||||
html = html.replace("{SOCIALS}", addedHTML)
|
||||
|
||||
|
|
|
@ -18,9 +18,9 @@
|
|||
|
||||
<body>
|
||||
<h1>Socials</h1>
|
||||
<p>Here's where you can find me most... if you wanted to do that for some reason?</p>
|
||||
<div class="row container-fluid fadediv" style="margin: auto;">
|
||||
|
||||
<p>Here's where you can find me most... if you wanted to do that for some reason?</p>
|
||||
<div class="col-sm-6">
|
||||
<hr>
|
||||
<h3>Chat Applications:</h3>
|
||||
|
|
Loading…
Reference in a new issue