diff options
Diffstat (limited to 'src/page/artist.js')
-rw-r--r-- | src/page/artist.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/page/artist.js b/src/page/artist.js index 6a465604..dae0e198 100644 --- a/src/page/artist.js +++ b/src/page/artist.js @@ -272,6 +272,7 @@ export function write(artist, {wikiData}) { fancifyURL, generateCoverLink, generateInfoGalleryLinks, + getArtistAvatar, getArtistString, link, strings, @@ -290,7 +291,7 @@ export function write(artist, {wikiData}) { main: { content: fixWS` ${artist.hasAvatar && generateCoverLink({ - path: ['localized.artistAvatar', artist.directory], + src: getArtistAvatar(artist), alt: strings('misc.alt.artistAvatar') })} <h1>${strings('artistPage.title', {artist: name})}</h1> @@ -369,9 +370,9 @@ export function write(artist, {wikiData}) { track: link.track(track) }) : `<i>${strings('artistPage.creditList.entry.album.' + { - wallpaperArtists: 'wallpaperArt', - bannerArtists: 'bannerArt', - coverArtists: 'coverArt' + wallpaperArtistContribs: 'wallpaperArt', + bannerArtistContribs: 'bannerArt', + coverArtistContribs: 'coverArt' }[key])}</i>`), ...props })) |