blob: c48f314256e2efa1606ef9171f26bdb9832420c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
export default {
contentDependencies: [
'generateSecondaryNav',
'generateGroupSecondaryNavCategoryPart',
],
relations: (relation, group) => ({
secondaryNav:
relation('generateSecondaryNav'),
categoryPart:
relation('generateGroupSecondaryNavCategoryPart', group.category, group),
}),
generate: (relations) =>
relations.secondaryNav.slots({
attributes: {class: 'nav-links-groups'},
content: relations.categoryPart,
}),
};
|