mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-21 16:00:26 +01:00
fixes #4555
This commit is contained in:
@@ -71,6 +71,13 @@ helpers.buildCategoryBreadcrumbs = function(cid, callback) {
|
|||||||
return callback(err);
|
return callback(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!meta.config.homePageRoute && meta.config.homePageCustom) {
|
||||||
|
breadcrumbs.unshift({
|
||||||
|
text: '[[global:header.categories]]',
|
||||||
|
url: nconf.get('relative_path') + '/categories'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
breadcrumbs.unshift({
|
breadcrumbs.unshift({
|
||||||
text: '[[global:home]]',
|
text: '[[global:home]]',
|
||||||
url: nconf.get('relative_path') + '/'
|
url: nconf.get('relative_path') + '/'
|
||||||
|
|||||||
Reference in New Issue
Block a user