diff --git a/public/language/en-GB/admin/general/homepage.json b/public/language/en-GB/admin/general/homepage.json
index 4866b8baf6..7428d59eeb 100644
--- a/public/language/en-GB/admin/general/homepage.json
+++ b/public/language/en-GB/admin/general/homepage.json
@@ -3,5 +3,6 @@
"description": "Choose what page is shown when users navigate to the root URL of your forum.",
"home-page-route": "Home Page Route",
"custom-route": "Custom Route",
- "allow-user-home-pages": "Allow User Home Pages"
+ "allow-user-home-pages": "Allow User Home Pages",
+ "home-page-title": "Title of the home page (default \"Home\")"
}
\ No newline at end of file
diff --git a/src/controllers/categories.js b/src/controllers/categories.js
index 67f693249a..1eb46a0041 100644
--- a/src/controllers/categories.js
+++ b/src/controllers/categories.js
@@ -33,7 +33,7 @@ categoriesController.list = function (req, res, next) {
},
function () {
var data = {
- title: '[[pages:home]]',
+ title: meta.config.homePageTitle || '[[pages:home]]',
categories: categoryData,
};
diff --git a/src/controllers/popular.js b/src/controllers/popular.js
index 734268cefd..b6a189383c 100644
--- a/src/controllers/popular.js
+++ b/src/controllers/popular.js
@@ -45,7 +45,7 @@ popularController.get = function (req, res, next) {
},
function (topics) {
var data = {
- title: '[[pages:home]]',
+ title: meta.config.homePageTitle || '[[pages:home]]',
topics: topics,
'feeds:disableRSS': parseInt(meta.config['feeds:disableRSS'], 10) === 1,
rssFeedUrl: nconf.get('relative_path') + '/popular/' + (req.params.term || 'daily') + '.rss',
diff --git a/src/controllers/recent.js b/src/controllers/recent.js
index 473252e6c0..7b997894c1 100644
--- a/src/controllers/recent.js
+++ b/src/controllers/recent.js
@@ -61,7 +61,7 @@ recentController.get = function (req, res, next) {
if (req.uid) {
data.rssFeedUrl += '?uid=' + req.uid + '&token=' + rssToken;
}
- data.title = '[[pages:home]]';
+ data.title = meta.config.homePageTitle || '[[pages:home]]';
data.filters = helpers.buildFilters('recent', filter);
data.selectedFilter = data.filters.find(function (filter) {
diff --git a/src/controllers/unread.js b/src/controllers/unread.js
index d50b59945b..c401e4cb8f 100644
--- a/src/controllers/unread.js
+++ b/src/controllers/unread.js
@@ -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);
diff --git a/src/views/admin/general/homepage.tpl b/src/views/admin/general/homepage.tpl
index f6bc21b6cb..049721e829 100644
--- a/src/views/admin/general/homepage.tpl
+++ b/src/views/admin/general/homepage.tpl
@@ -24,6 +24,9 @@
[[admin/general/homepage:allow-user-home-pages]]
+
+
+