This commit is contained in:
Bingus_Violet 2024-01-03 22:24:56 -06:00
parent 4c778a08a0
commit dd117f3122
4 changed files with 51 additions and 2 deletions

View file

@ -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()