« get me outta code hell

content: generateCoverArtwork: prefer tag short names - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content
diff options
context:
space:
mode:
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
commitfc80e4eed5345f81b0bf8cdc9eadd42d8f12f72c (patch)
treeded93ee5792e0ae9f1ce6084c9e2aec172c693cf /src/content
parentb1f116b28580e67a82c2d0eaea2b51fb0aee59b2 (diff)
content: generateCoverArtwork: prefer tag short names
Diffstat (limited to 'src/content')
-rw-r--r--src/content/dependencies/generateCoverArtwork.js5
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))),
               })),
           ]);