« get me outta code hell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
export default { contentDependencies: ['linkTrack'], extraDependencies: ['language'], relations: (relation, track) => ({ trackLink: relation('linkTrack', track), }), generate: (relations, {language}) => relations.trackLink.slots({ content: language.$('trackPage.nav.backToTrack'), color: false, }), };