mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-04 19:41:16 +01:00
fix browser title on home page
This commit is contained in:
@@ -457,7 +457,7 @@ function redirectToLogin(req, res) {
|
||||
}
|
||||
|
||||
function modifyTitle(obj) {
|
||||
var title = '[[pages:home]] | ' + validator.escape(meta.config.title || 'NodeBB');
|
||||
var title = '[[pages:home]] | ' + validator.escape(meta.config.browserTitle || meta.config.title || 'NodeBB');
|
||||
obj.browserTitle = title;
|
||||
|
||||
if (obj.metaTags) {
|
||||
|
||||
Reference in New Issue
Block a user