diff options
Diffstat (limited to 'src/page/track.js')
-rw-r--r-- | src/page/track.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/page/track.js b/src/page/track.js index 17e75858..960f00ce 100644 --- a/src/page/track.js +++ b/src/page/track.js @@ -138,6 +138,7 @@ export function write(track, {wikiData}) { to }) => { const generateTrackList = bindOpts(unbound_generateTrackList, {getArtistString, link, strings}); + const cover = getTrackCover(track); return { title: strings('trackPage.title', {track: track.name}), @@ -160,8 +161,8 @@ export function write(track, {wikiData}) { main: { content: fixWS` - ${generateCoverLink({ - src: getTrackCover(track), + ${cover && generateCoverLink({ + src: cover, alt: strings('misc.alt.trackCover'), tags: track.artTags })} |