fix browser title on home page

This commit is contained in:
barisusakli
2015-09-08 02:17:22 -04:00
parent cf193581e4
commit 7c319c9b20

View File

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