From 0741978b3fe84ca6895b93ec00dd6a63a3697227 Mon Sep 17 00:00:00 2001 From: K4USTU3H Date: Sat, 7 Dec 2019 21:53:08 +0530 Subject: [PATCH] Add Open Graph and Twitter embed information --- populate.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/populate.js b/populate.js index 79dbd34..1d65d45 100644 --- a/populate.js +++ b/populate.js @@ -124,6 +124,18 @@ module.exports.updateHTML = (username, opts) => icon.setAttribute("type", "image/png"); document.getElementsByTagName("head")[0].appendChild(icon); + document.getElementsByTagName("head")[0].innerHTML += ` + + + + + + + + + + + `; document.getElementById( "profile_img" ).style.background = `url('${user.avatar_url}') center center`;