FAQ
This commit is contained in:
parent
4c778a08a0
commit
dd117f3122
4 changed files with 51 additions and 2 deletions
7
index.js
7
index.js
|
@ -204,6 +204,13 @@ function pageUpdate() {
|
|||
|
||||
html = html.replace("{SOCIALS}", addedHTML)
|
||||
|
||||
addedHTML = ""
|
||||
|
||||
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("{MASTODON_FEED}", mastoData.HTML)
|
||||
|
||||
var now = new Date()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue