« get me outta code hell

content: linkExternal: default to 'normal' style - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateArtistInfoPage.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-11-24 14:39:06 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-11-24 14:39:06 -0400
commit45fba07af02d4f161cce494b683918bc76453b82 (patch)
treea65a42647ff0ec5ff497cc7c85676fddbaaa32e3 /src/content/dependencies/generateArtistInfoPage.js
parent1c58d918e8126c4423608e9504a7f0fcbce2a64e (diff)
content: linkExternal: default to 'normal' style
Diffstat (limited to 'src/content/dependencies/generateArtistInfoPage.js')
-rw-r--r--src/content/dependencies/generateArtistInfoPage.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/content/dependencies/generateArtistInfoPage.js b/src/content/dependencies/generateArtistInfoPage.js
index ac9209a..be9f9b8 100644
--- a/src/content/dependencies/generateArtistInfoPage.js
+++ b/src/content/dependencies/generateArtistInfoPage.js
@@ -163,8 +163,11 @@ export default {
               language.$('releaseInfo.visitOn', {
                 links:
                   language.formatDisjunctionList(
-                    sec.visit.externalLinks
-                      .map(link => link.slot('context', 'artist'))),
+                    sec.visit.externalLinks.map(link =>
+                      link.slots({
+                        context: 'artist',
+                        mode: 'platform',
+                      }))),
               })),
 
           sec.artworks?.artistGalleryLink &&