Skip to content

Commit 34f7e6f

Browse files
committed
Enable LinkedIn for URL
1 parent e488c08 commit 34f7e6f

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/ISSUE_TEMPLATE/add-update-member.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,15 @@ body:
158158
validations:
159159
required: false
160160

161+
- type: "input"
162+
id: linkedin
163+
attributes:
164+
label: "LinkedIn"
165+
description: "Full URL of the lab member's LinkedIn profile"
166+
placeholder: "https://www.linkedin.com/in/john-doe"
167+
validations:
168+
required: false
169+
161170
- type: "input"
162171
id: website
163172
attributes:

src/python/add_update_member.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
def format_site_label(name):
1010
if name == "github":
1111
return "GitHub"
12-
elif name in ["twitter", "scholar", "website"]:
12+
elif name == "linkedin":
13+
return "LinkedIn"
14+
elif name in ["twitter", "scholar", "website", "linkedin"]:
1315
return name.title()
1416
else:
1517
return name

0 commit comments

Comments
 (0)