Blog title & description

This commit is contained in:
bingus_violet 2024-07-09 17:53:14 -05:00
parent 72ff47e8cb
commit 516c7e0f73
2 changed files with 4 additions and 1 deletions

View file

@ -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">

View file

@ -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
}