« get me outta code hell

Merge branch 'staging' into preview - 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-04 21:55:45 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-02-04 21:55:45 -0400
commitdb93dfae3aa8a627451ee643e2c02291e4f5dead (patch)
treec1ac3596e04a4273b443a8e3378033787111d919 /src/misc-templates.js
parent47769d85efbab949aeabc85155d8efff0a62485c (diff)
parentf0af4edfa87e9518703b7c9ab35244911f0a3ac2 (diff)
Merge branch 'staging' into preview
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 9c08997..8a61bf7 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',