mirror of
https://github.com/dilllxd/gitfolio.git
synced 2024-08-14 22:28:09 +00:00
Update populate.js
This commit is contained in:
parent
7e478ecb0b
commit
f29fdb9d71
1 changed files with 3 additions and 0 deletions
|
@ -106,6 +106,9 @@ module.exports.updateHTML = (username, opts) => {
|
|||
icon.setAttribute("type", "image/png");
|
||||
|
||||
document.getElementsByTagName("head")[0].appendChild(icon);
|
||||
document.getElementById(
|
||||
"profile_img"
|
||||
).style.background = `url('${user.avatar_url}') center center`;
|
||||
document.getElementsByTagName("head")[0].innerHTML += `
|
||||
<meta name="description" content="${user.bio}" />
|
||||
<meta property="og:image" content="${user.avatar_url}" />
|
||||
|
|
Loading…
Reference in a new issue