This commit is contained in:
Baris Usakli
2017-12-06 11:54:08 -05:00
parent 9a59aaa755
commit f177b01022
6 changed files with 9 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ unreadController.get = function (req, res, next) {
}, next);
},
function (data) {
data.title = '[[pages:home]]';
data.title = meta.config.homePageTitle || '[[pages:home]]';
data.pageCount = Math.max(1, Math.ceil(data.topicCount / settings.topicsPerPage));
data.pagination = pagination.create(page, data.pageCount, req.query);