« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/content/dependencies/generateAlbumReleaseInfo.js6
-rw-r--r--src/util/external-links.js4
2 files changed, 7 insertions, 3 deletions
diff --git a/src/content/dependencies/generateAlbumReleaseInfo.js b/src/content/dependencies/generateAlbumReleaseInfo.js
index 4b819091..dd5baab9 100644
--- a/src/content/dependencies/generateAlbumReleaseInfo.js
+++ b/src/content/dependencies/generateAlbumReleaseInfo.js
@@ -94,7 +94,11 @@ export default {
             links:
               language.formatDisjunctionList(
                 relations.externalLinks
-                  .map(link => link.slot('context', 'album'))),
+                  .map(link =>
+                    link.slots({
+                      context: 'album',
+                      style: 'normal',
+                    }))),
           })),
     ]);
   },
diff --git a/src/util/external-links.js b/src/util/external-links.js
index c8cb1670..07a83bc1 100644
--- a/src/util/external-links.js
+++ b/src/util/external-links.js
@@ -133,7 +133,7 @@ export const externalLinkSpec = [
   {
     match: {
       context: 'artist',
-      domains: ['youtube.com', 'youtu.be'],
+      domain: 'youtube.com',
     },
 
     platform: 'youtube',
@@ -158,7 +158,7 @@ export const externalLinkSpec = [
     platform: 'bgreco',
     substring: 'flash',
 
-    icon: 'external',
+    icon: 'globe',
   },
 
   // This takes precedence over the secretPage match below.