diff options
Diffstat (limited to 'src/content/dependencies/generateAlbumInfoPage.js')
-rw-r--r-- | src/content/dependencies/generateAlbumInfoPage.js | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/content/dependencies/generateAlbumInfoPage.js b/src/content/dependencies/generateAlbumInfoPage.js index 8fbb81f9..8ba53530 100644 --- a/src/content/dependencies/generateAlbumInfoPage.js +++ b/src/content/dependencies/generateAlbumInfoPage.js @@ -16,7 +16,6 @@ export default { 'generateAlbumStyleRules', 'generateAlbumTrackList', 'generateChronologyLinks', - 'generateColorStyleRules', 'generateContentHeading', 'generatePageLayout', 'linkAlbum', @@ -39,9 +38,6 @@ export default { relations.albumStyleRules = relation('generateAlbumStyleRules', album); - relations.colorStyleRules = - relation('generateColorStyleRules', album.color); - relations.socialEmbed = relation('generateAlbumSocialEmbed', album); @@ -145,6 +141,7 @@ export default { const data = {}; data.name = album.name; + data.color = album.color; if (!empty(album.additionalFiles)) { data.numAdditionalFiles = album.additionalFiles.length; @@ -163,8 +160,8 @@ export default { title: language.$('albumPage.title', {album: data.name}), headingMode: 'sticky', - colorStyleRules: [relations.colorStyleRules], - additionalStyleRules: [relations.albumStyleRules], + color: data.color, + styleRules: [relations.albumStyleRules], cover: relations.cover |