mirror of
https://github.com/jlengrand/coffeechat.git
synced 2026-03-10 08:11:20 +00:00
generate GitHub profile URL in the README file
This commit is contained in:
@@ -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()]})`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user