From f0af4edfa87e9518703b7c9ab35244911f0a3ac2 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 4 Feb 2023 21:54:19 -0400 Subject: fancify & iconify Newgrounds links Fixes #105 --- src/misc-templates.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/misc-templates.js') diff --git a/src/misc-templates.js b/src/misc-templates.js index a530a3c..0e177e0 100644 --- a/src/misc-templates.js +++ b/src/misc-templates.js @@ -497,6 +497,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); } @@ -548,6 +550,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', -- cgit 1.3.0-6-gf8a5