diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-08-06 17:32:39 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-08-06 17:32:39 -0300 |
commit | fc80e4eed5345f81b0bf8cdc9eadd42d8f12f72c (patch) | |
tree | ded93ee5792e0ae9f1ce6084c9e2aec172c693cf /src/content/dependencies | |
parent | b1f116b28580e67a82c2d0eaea2b51fb0aee59b2 (diff) |
content: generateCoverArtwork: prefer tag short names
Diffstat (limited to 'src/content/dependencies')
-rw-r--r-- | src/content/dependencies/generateCoverArtwork.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/content/dependencies/generateCoverArtwork.js b/src/content/dependencies/generateCoverArtwork.js index 503bd120..361882dc 100644 --- a/src/content/dependencies/generateCoverArtwork.js +++ b/src/content/dependencies/generateCoverArtwork.js @@ -55,7 +55,10 @@ export default { !empty(relations.tagLinks) && html.tag('p', language.$('releaseInfo.artTags.inline', { - tags: language.formatUnitList(relations.tagLinks), + tags: + language.formatUnitList( + relations.tagLinks + .map(tagLink => tagLink.slot('preferShortName', true))), })), ]); |