Blog title & description
This commit is contained in:
parent
72ff47e8cb
commit
516c7e0f73
2 changed files with 4 additions and 1 deletions
3
blog.js
3
blog.js
|
@ -22,6 +22,9 @@ app.use((req, res, next) => {
|
|||
|
||||
html = pageUpdater.converter(html, false)
|
||||
|
||||
html = html.replaceAll("{BLOG_TITLE}", post.title)
|
||||
html = html.replaceAll("{BLOG_DESC}", post.desc)
|
||||
|
||||
res.send(html)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue