« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/upd8.js
diff options
context:
space:
mode:
Diffstat (limited to 'upd8.js')
-rw-r--r--upd8.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/upd8.js b/upd8.js
index 3589e7db..d86cc022 100644
--- a/upd8.js
+++ b/upd8.js
@@ -2359,6 +2359,7 @@ function fancifyURL(url, {album = false} = {}) {
         url.includes('deviantart.com') ? 'DeviantArt' :
         url.includes('wikipedia.org') ? 'Wikipedia' :
         url.includes('poetryfoundation.org') ? 'Poetry Foundation' :
+        url.includes('instagram.com') ? 'Instagram' :
         new URL(url).hostname
     }</a>`;
 }
@@ -2374,6 +2375,7 @@ function iconifyURL(url) {
         url.includes('tumblr.com') ? ['tumblr', 'Tumblr'] :
         url.includes('twitter.com') ? ['twitter', 'Twitter'] :
         url.includes('deviantart.com') ? ['deviantart', 'DeviantArt'] :
+        url.includes('instagram.com') ? ['instagram', 'Instagram'] :
         ['globe', `External (${new URL(url).hostname})`]
     );
     return fixWS`<a href="${url}" class="icon"><svg><title>${msg}</title><use href="${C.STATIC_DIRECTORY}/icons.svg#icon-${id}"></use></svg></a>`;