generate GitHub profile URL in the README file

This commit is contained in:
Frédéric Harper
2024-05-21 14:02:01 -04:00
parent cf35d332ac
commit a220fa6eaf

View File

@@ -25,7 +25,7 @@ const peopleList = json.people
.map(
(person) => {
let socials = [];
['Website', 'LinkedIn', 'Twitter', 'Mastodon'].forEach(social => {
['Website', 'LinkedIn', 'Twitter', 'Mastodon', 'GitHub'].forEach(social => {
if (person.hasOwnProperty(social.toLowerCase()) && person[social.toLowerCase()].length > 0) {
socials.push(`[${social}](${person[social.toLowerCase()]})`);
}