From 7c319c9b2090898284697b37e37e59e087375dbf Mon Sep 17 00:00:00 2001 From: barisusakli Date: Tue, 8 Sep 2015 02:17:22 -0400 Subject: [PATCH] fix browser title on home page --- src/middleware/middleware.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middleware/middleware.js b/src/middleware/middleware.js index 207356013a..cc77ccd8db 100644 --- a/src/middleware/middleware.js +++ b/src/middleware/middleware.js @@ -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) {