From 67840507a46925041ca192d9c429c512210c9113 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 26 Jan 2024 10:59:54 -0400 Subject: content: generateAlbumCoverArtwork: provide dimensions --- src/content/dependencies/generateAlbumCoverArtwork.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/content/dependencies/generateAlbumCoverArtwork.js') diff --git a/src/content/dependencies/generateAlbumCoverArtwork.js b/src/content/dependencies/generateAlbumCoverArtwork.js index ce8cde21..dbb22fe7 100644 --- a/src/content/dependencies/generateAlbumCoverArtwork.js +++ b/src/content/dependencies/generateAlbumCoverArtwork.js @@ -12,11 +12,15 @@ export default { color: album.color, + + dimensions: + album.coverArtDimensions, }), generate: (data, relations) => relations.coverArtwork.slots({ path: data.path, color: data.color, + dimensions: data.dimensions, }), }; -- cgit 1.3.0-6-gf8a5