Blog title & description
This commit is contained in:
parent
72ff47e8cb
commit
516c7e0f73
2 changed files with 4 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>{BLOG_TITLE}</title>
|
||||
<title>{BLOG_TITLE} - Violet's Purgatory</title>
|
||||
|
||||
<meta name="darkreader-lock">
|
||||
|
||||
|
|
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…
Reference in a new issue