« get me outta code hell

support non-jpg album wallpapers & banners - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/misc-templates.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-01-05 15:04:32 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-01-05 15:04:32 -0400
commitb10d00e4f4cf191ed9cb914052422db4363de349 (patch)
tree6d4f77bb38fb0ae91782f118ff45013726336a17 /src/misc-templates.js
parente32ca61eb351155524a5ba0c272b26cdc85a8203 (diff)
support non-jpg album wallpapers & banners
Diffstat (limited to 'src/misc-templates.js')
-rw-r--r--src/misc-templates.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc-templates.js b/src/misc-templates.js
index e787184..578c4e5 100644
--- a/src/misc-templates.js
+++ b/src/misc-templates.js
@@ -184,7 +184,7 @@ export function getAlbumStylesheet(album, {to}) {
     return [
         album.wallpaperArtists && fixWS`
             body::before {
-                background-image: url("${to('media.albumWallpaper', album.directory)}");
+                background-image: url("${to('media.albumWallpaper', album.directory, album.wallpaperFileExtension)}");
                 ${album.wallpaperStyle}
             }
         `,