« get me outta code hell

content: contextual external links - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateAlbumSidebarGroupBox.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-11-23 18:52:04 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-11-24 13:45:34 -0400
commit8c69ef2b14c4719fa0cd0c7daca27c613167b7ca (patch)
tree8742a45bb243c9e1fdc1a7a7504316f92f9315ce /src/content/dependencies/generateAlbumSidebarGroupBox.js
parentcf08893d48db6f8082a176f54d0d92cb82716b3a (diff)
content: contextual external links
Diffstat (limited to 'src/content/dependencies/generateAlbumSidebarGroupBox.js')
-rw-r--r--src/content/dependencies/generateAlbumSidebarGroupBox.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/content/dependencies/generateAlbumSidebarGroupBox.js b/src/content/dependencies/generateAlbumSidebarGroupBox.js
index 331ddab..f370545 100644
--- a/src/content/dependencies/generateAlbumSidebarGroupBox.js
+++ b/src/content/dependencies/generateAlbumSidebarGroupBox.js
@@ -66,7 +66,10 @@ export default {
       !empty(relations.externalLinks) &&
         html.tag('p',
           language.$('releaseInfo.visitOn', {
-            links: language.formatDisjunctionList(relations.externalLinks),
+            links:
+              language.formatDisjunctionList(
+                relations.externalLinks
+                  .map(link => link.slot('context', 'group'))),
           })),
 
       slots.mode === 'album' &&