« get me outta code hell

Merge branch 'preview' into data-format-cleanup - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/misc-templates.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-02-05 09:37:33 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-02-05 09:37:33 -0400
commit4dbd31b0329b9618341d494a8d6e04f5c30ff32e (patch)
tree6d8eb9e8c3ec15cbd63ce29382ee5ce5cdb0abe6 /src/misc-templates.js
parentf554897f3728fcb771fe26dffad898a54b37335a (diff)
parentf36f93b702729f14021746d56b192b25ac3ed1b7 (diff)
Merge branch 'preview' into data-format-cleanup
Diffstat (limited to 'src/misc-templates.js')
-rw-r--r--src/misc-templates.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/misc-templates.js b/src/misc-templates.js
index 9c089978..8a61bf7f 100644
--- a/src/misc-templates.js
+++ b/src/misc-templates.js
@@ -498,6 +498,8 @@ function unbound_fancifyURL(url, {
     ? language.$('misc.external.patreon')
   : domain.includes('spotify.com')
     ? language.$('misc.external.spotify')
+  : domain.includes('newgrounds.com')
+    ? language.$('misc.external.newgrounds')
     : domain);
 }
 
@@ -549,6 +551,8 @@ function unbound_iconifyURL(url, {
       ? ['deviantart', language.$('misc.external.deviantart')]
     : domain.includes('instagram.com')
       ? ['instagram', language.$('misc.external.bandcamp')]
+    : domain.includes('newgrounds.com')
+      ? ['newgrounds', language.$('misc.external.newgrounds')]
       : ['globe', language.$('misc.external.domain', {domain})]);
 
   return html.tag('a',