diff options
Diffstat (limited to 'src/content/dependencies/generateTrackArtistCommentarySection.js')
-rw-r--r-- | src/content/dependencies/generateTrackArtistCommentarySection.js | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/content/dependencies/generateTrackArtistCommentarySection.js b/src/content/dependencies/generateTrackArtistCommentarySection.js index 50565bce..5ed24d6c 100644 --- a/src/content/dependencies/generateTrackArtistCommentarySection.js +++ b/src/content/dependencies/generateTrackArtistCommentarySection.js @@ -2,7 +2,7 @@ import {empty, stitchArrays} from '#sugar'; export default { contentDependencies: [ - 'generateContentContentHeading', + 'generateCommentaryContentHeading', 'generateCommentaryEntry', 'linkAlbum', 'linkTrack', @@ -18,8 +18,8 @@ export default { }), relations: (relation, query, track) => ({ - contentContentHeading: - relation('generateContentContentHeading', track), + commentaryContentHeading: + relation('generateCommentaryContentHeading', track), mainReleaseTrackLink: (track.isSecondaryRelease @@ -78,11 +78,7 @@ export default { generate: (data, relations, {html, language}) => language.encapsulate('misc.artistCommentary', capsule => html.tags([ - relations.contentContentHeading.slots({ - attributes: {id: 'artist-commentary'}, - string: 'misc.artistCommentary', - }), - + relations.commentaryContentHeading, relations.artistCommentaryEntries, data.isSecondaryRelease && |