« get me outta code hell

add Spotify as a recognized external link - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-01-01 17:53:45 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-01-01 17:53:45 -0400
commit6ba58403ea491e7176f793e964f14142e73aa14b (patch)
tree779f258bd7f5554c47b358fb22bdf0050affabb1
parenta312b897e99251ff9d53014dbb86c7a3b7b6609c (diff)
add Spotify as a recognized external link
resolves #114
-rw-r--r--src/misc-templates.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/misc-templates.js b/src/misc-templates.js
index 7072e57f..a530a3cf 100644
--- a/src/misc-templates.js
+++ b/src/misc-templates.js
@@ -495,6 +495,8 @@ function unbound_fancifyURL(url, {
     ? language.$('misc.external.instagram')
   : domain.includes('patreon.com')
     ? language.$('misc.external.patreon')
+  : domain.includes('spotify.com')
+    ? language.$('misc.external.spotify')
     : domain);
 }