« get me outta code hell

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:
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 19efc701..6e8d6dbc 100644
--- a/src/page/album.js
+++ b/src/page/album.js
@@ -122,7 +122,7 @@ export function write(album, {wikiData}) {
 
                 banner: album.bannerArtists && {
                     dimensions: album.bannerDimensions,
-                    path: ['media.albumBanner', album.directory],
+                    path: ['media.albumBanner', album.directory, album.bannerFileExtension],
                     alt: strings('misc.alt.albumBanner'),
                     position: 'top'
                 },
diff --git a/src/page/track.js b/src/page/track.js
index 0941ee89..c2f2c592 100644
--- a/src/page/track.js
+++ b/src/page/track.js
@@ -155,7 +155,7 @@ export function write(track, {wikiData}) {
                 banner: album.bannerArtists && {
                     classes: ['dim'],
                     dimensions: album.bannerDimensions,
-                    path: ['media.albumBanner', album.directory],
+                    path: ['media.albumBanner', album.directory, album.bannerFileExtension],
                     alt: strings('misc.alt.albumBanner'),
                     position: 'bottom'
                 },