diff options
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 |
commit | 4dbd31b0329b9618341d494a8d6e04f5c30ff32e (patch) | |
tree | 6d8eb9e8c3ec15cbd63ce29382ee5ce5cdb0abe6 /src/misc-templates.js | |
parent | f554897f3728fcb771fe26dffad898a54b37335a (diff) | |
parent | f36f93b702729f14021746d56b192b25ac3ed1b7 (diff) |
Merge branch 'preview' into data-format-cleanup
Diffstat (limited to 'src/misc-templates.js')
-rw-r--r-- | src/misc-templates.js | 4 |
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', |