feat: add parent cids to body class

This commit is contained in:
Barış Soner Uşaklı
2020-03-26 12:04:04 -04:00
parent aabddea2b7
commit 23571224b5
4 changed files with 10 additions and 0 deletions

View File

@@ -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;