diff options
Diffstat (limited to 'src/content/dependencies/generateAlbumInfoPage.js')
-rw-r--r-- | src/content/dependencies/generateAlbumInfoPage.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/content/dependencies/generateAlbumInfoPage.js b/src/content/dependencies/generateAlbumInfoPage.js index bc4ac1dc..74d80e33 100644 --- a/src/content/dependencies/generateAlbumInfoPage.js +++ b/src/content/dependencies/generateAlbumInfoPage.js @@ -13,6 +13,7 @@ export default { relations(relation, album) { const relations = {}; + relations.content = relation('generateAlbumInfoPageContent', album); relations.socialEmbed = relation('generateAlbumSocialEmbed', album); relations.albumStyleRules = relation('generateAlbumStyleRules', album); relations.colorStyleRules = relation('generateColorStyleRules', album.color); @@ -25,6 +26,8 @@ export default { }) { const page = {}; + Object.assign(page, relations.content); + page.title = language.$('albumPage.title', {album: data.name}); page.themeColor = data.color; |