diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-04-03 21:39:37 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-04-03 21:39:37 -0300 |
commit | 5216ac503e849083edd9ea66306c5fb51ffe3139 (patch) | |
tree | c89e2f8fc859b3cfc1913ed8a60112dadb16caed /src/content/dependencies/generateTrackList.js | |
parent | d4585f24a1bcd0b8ecfef5d7e52e7b8263ee9dc8 (diff) |
content: generateTrackList (etc): better wrapping with chunkwrap
Diffstat (limited to 'src/content/dependencies/generateTrackList.js')
-rw-r--r-- | src/content/dependencies/generateTrackList.js | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/content/dependencies/generateTrackList.js b/src/content/dependencies/generateTrackList.js index 65f5552b..3c36d248 100644 --- a/src/content/dependencies/generateTrackList.js +++ b/src/content/dependencies/generateTrackList.js @@ -44,15 +44,16 @@ export default { track: trackLink, by: html.tag('span', {class: 'by'}, - language.$('trackList.item.withArtists.by', { - artists: - language.formatConjunctionList( - contributionLinks.map(link => - link.slots({ - showContribution: slots.showContribution, - showIcons: slots.showIcons, - }))), - })), + html.metatag('chunkwrap', {split: ','}, + language.$('trackList.item.withArtists.by', { + artists: + language.formatConjunctionList( + contributionLinks.map(link => + link.slots({ + showContribution: slots.showContribution, + showIcons: slots.showIcons, + }))), + }))), })))))); }, }; |