mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 10:06:13 +01:00
feat: add parent cids to body class
This commit is contained in:
@@ -159,6 +159,7 @@ helpers.buildCategoryBreadcrumbs = async function (cid) {
|
||||
breadcrumbs.unshift({
|
||||
text: String(data.name),
|
||||
url: nconf.get('relative_path') + '/category/' + data.slug,
|
||||
cid: cid,
|
||||
});
|
||||
}
|
||||
cid = data.parentCid;
|
||||
|
||||
Reference in New Issue
Block a user