Update index.js
This commit is contained in:
parent
2a950edebc
commit
b015152ef7
1 changed files with 3 additions and 3 deletions
6
index.js
6
index.js
|
@ -216,10 +216,10 @@ function pageUpdate() {
|
|||
|
||||
addedHTML = ""
|
||||
|
||||
var faqHTML = fs.readFileSync(path.join(__dirname, 'static/faq/index.html')).toString()
|
||||
addedHTML += faqHTML.substring(faqHTML.indexOf("<h1>"), faqHTML.indexOf("</body>"))
|
||||
// var faqHTML = fs.readFileSync(path.join(__dirname, 'static/faq/index.html')).toString()
|
||||
// addedHTML += faqHTML.substring(faqHTML.indexOf("<h1>"), faqHTML.indexOf("</body>"))
|
||||
|
||||
html = html.replace("{FAQ}", addedHTML)
|
||||
html = html.replace("{FAQ}", ``)
|
||||
|
||||
html = html.replace("{MASTODON_FEED}", mastoData.HTML)
|
||||
|
||||
|
|
Loading…
Reference in a new issue