diff options
Diffstat (limited to 'src/content/dependencies/generateAlbumCoverArtwork.js')
-rw-r--r-- | src/content/dependencies/generateAlbumCoverArtwork.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/content/dependencies/generateAlbumCoverArtwork.js b/src/content/dependencies/generateAlbumCoverArtwork.js index 1e11c0ac..ff7d2b85 100644 --- a/src/content/dependencies/generateAlbumCoverArtwork.js +++ b/src/content/dependencies/generateAlbumCoverArtwork.js @@ -45,6 +45,11 @@ export default { dimensions: album.coverArtDimensions, + + warnings: + album.artTags + .filter(tag => tag.isContentWarning) + .map(tag => tag.name), }), slots: { @@ -73,6 +78,7 @@ export default { }), dimensions: data.dimensions, + warnings: data.warnings, details: [ slots.details === 'tags' && |