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') + '/'