mirror of
https://github.com/dilllxd/gitfolio.git
synced 2024-08-14 22:28:09 +00:00
attempting to add youtube..?
This commit is contained in:
parent
3fcdd8dfbd
commit
bc1b663d85
1 changed files with 5 additions and 1 deletions
|
@ -46,7 +46,8 @@ module.exports.updateHTML = (username, opts) => {
|
||||||
steam,
|
steam,
|
||||||
telegram,
|
telegram,
|
||||||
twitter,
|
twitter,
|
||||||
xda
|
xda,
|
||||||
|
youtube
|
||||||
} = opts;
|
} = opts;
|
||||||
//add data to assets/index.html
|
//add data to assets/index.html
|
||||||
jsdom
|
jsdom
|
||||||
|
@ -191,6 +192,9 @@ module.exports.updateHTML = (username, opts) => {
|
||||||
<span style="display:${
|
<span style="display:${
|
||||||
xda == null ? "none !important" : "block"
|
xda == null ? "none !important" : "block"
|
||||||
};"><a href="https://forum.xda-developers.com/member.php?u=${xda}" target="_blank" class="socials"><span class="iconify" data-icon="mdi-xda"></span></a></span>
|
};"><a href="https://forum.xda-developers.com/member.php?u=${xda}" target="_blank" class="socials"><span class="iconify" data-icon="mdi-xda"></span></a></span>
|
||||||
|
<span style="display:${
|
||||||
|
youtube == null ? "none !important" : "block"
|
||||||
|
};"><a href="https://www.youtube.com/channel/{youtube}" target="_blank" class="socials"><span class="iconify" data-icon="mdi-youtube"></span></a></span>
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
//Script
|
//Script
|
||||||
|
|
Loading…
Reference in a new issue