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