« get me outta code hell

banner & wallpaper art, file extension defaults - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/page
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-03-05 20:53:16 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-03-05 20:53:16 -0400
commit21c6220356b3769b6321bd64e85398fee618cfb1 (patch)
treedcec170694865fcf7760d69c21356f4e5dee857f /src/page
parentc55764a1f4d7903ed149b6491d9def8064c9e2ac (diff)
banner & wallpaper art, file extension defaults
Diffstat (limited to 'src/page')
-rw-r--r--src/page/album.js2
-rw-r--r--src/page/track.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/page/album.js b/src/page/album.js
index f7df2648..6478cce2 100644
--- a/src/page/album.js
+++ b/src/page/album.js
@@ -120,7 +120,7 @@ export function write(album, {wikiData}) {
                     `--album-directory: ${album.directory}`
                 ]),
 
-                banner: album.bannerArtists && {
+                banner: album.bannerArtistContribs && {
                     dimensions: album.bannerDimensions,
                     path: ['media.albumBanner', album.directory, album.bannerFileExtension],
                     alt: strings('misc.alt.albumBanner'),
diff --git a/src/page/track.js b/src/page/track.js
index f9c6fe6d..264195da 100644
--- a/src/page/track.js
+++ b/src/page/track.js
@@ -149,7 +149,7 @@ export function write(track, {wikiData}) {
 
                 // disabled for now! shifting banner position per height of page is disorienting
                 /*
-                banner: album.bannerArtists && {
+                banner: album.bannerArtistContribs && {
                     classes: ['dim'],
                     dimensions: album.bannerDimensions,
                     path: ['media.albumBanner', album.directory, album.bannerFileExtension],