Skip to content

Node.js based forum software built for the modern web

fixes #4555

Julian Lam2aa89b9c70fb
diff --git a/src/controllers/helpers.js b/src/controllers/helpers.js
index 058a1849b1..a558d665dd 100644
--- a/src/controllers/helpers.js
+++ b/src/controllers/helpers.js
@@ -71,6 +71,13 @@ helpers.buildCategoryBreadcrumbs = function(cid, callback) {
return callback(err);
}
+ if (!meta.config.homePageRoute && meta.config.homePageCustom) {
+ breadcrumbs.unshift({
+ text: '[[global:header.categories]]',
+ url: nconf.get('relative_path') + '/categories'
+ });
+ }
+
breadcrumbs.unshift({
text: '[[global:home]]',
url: nconf.get('relative_path') + '/'