diff options
Diffstat (limited to 'src/content/dependencies')
-rw-r--r-- | src/content/dependencies/generateArtistNavLinks.js | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/content/dependencies/generateArtistNavLinks.js b/src/content/dependencies/generateArtistNavLinks.js index c10c02cd..f283b30d 100644 --- a/src/content/dependencies/generateArtistNavLinks.js +++ b/src/content/dependencies/generateArtistNavLinks.js @@ -17,6 +17,9 @@ export default { relations(relation, sprawl, artist) { const relations = {}; + relations.artistMainLink = + relation('linkArtist', artist); + relations.artistInfoLink = relation('linkArtist', artist); @@ -81,12 +84,20 @@ export default { return [ {auto: 'home'}, + data.enableListings && { path: ['localized.listingIndex'], title: language.$('listingIndex.title'), }, - {auto: 'current', accent}, + + { + accent, + html: + language.$('artistPage.nav.artist', { + artist: relations.artistMainLink, + }), + }, ]; }, }); |