diff options
-rwxr-xr-x | upd8.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/upd8.js b/upd8.js index 8b0c6ecc..d71e1ba9 100755 --- a/upd8.js +++ b/upd8.js @@ -2026,6 +2026,7 @@ writePage.html = (pageFn, {paths, strings, to}) => { theme = theme || getThemeString(wikiInfo); + banner ||= {}; banner.classes ??= []; banner.src ??= ''; banner.position ??= ''; @@ -2651,7 +2652,7 @@ function writeAlbumPage(album) { `--album-directory: ${album.directory}` ]), - banner: { + banner: album.bannerArtists && { src: to.albumBanner(album.directory), alt: strings('misc.alt.albumBanner'), position: 'top' |