« get me outta code hell

content: use style: 'platform' external links in various places - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-03-29 16:42:14 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-03-29 20:10:12 -0300
commitdbc75094b6ad03990998b349aee1d09b1b647cb0 (patch)
treecb855383922cdd3ab067af1ac4a3f34346711ff6 /src/content/dependencies
parentbdca511b40d314fcf96283722b846c99b3962071 (diff)
content: use style: 'platform' external links in various places
Diffstat (limited to 'src/content/dependencies')
-rw-r--r--src/content/dependencies/generateAlbumSidebarGroupBox.js5
-rw-r--r--src/content/dependencies/generateGroupInfoPage.js5
2 files changed, 8 insertions, 2 deletions
diff --git a/src/content/dependencies/generateAlbumSidebarGroupBox.js b/src/content/dependencies/generateAlbumSidebarGroupBox.js
index 93ebf5d4..5b7e2e45 100644
--- a/src/content/dependencies/generateAlbumSidebarGroupBox.js
+++ b/src/content/dependencies/generateAlbumSidebarGroupBox.js
@@ -89,7 +89,10 @@ export default {
             links:
               language.formatDisjunctionList(
                 relations.externalLinks
-                  .map(link => link.slot('context', 'group'))),
+                  .map(link => link.slots({
+                    context: 'group',
+                    style: 'platform',
+                  }))),
           })),
 
       slots.mode === 'album' &&
diff --git a/src/content/dependencies/generateGroupInfoPage.js b/src/content/dependencies/generateGroupInfoPage.js
index 2e1d1688..5cae730b 100644
--- a/src/content/dependencies/generateGroupInfoPage.js
+++ b/src/content/dependencies/generateGroupInfoPage.js
@@ -137,7 +137,10 @@ export default {
                 links:
                   language.formatDisjunctionList(
                     sec.info.visitLinks
-                      .map(link => link.slot('context', 'group'))),
+                      .map(link => link.slots({
+                        context: 'group',
+                        style: 'platform',
+                      }))),
               })),
 
           html.tag('blockquote',