Skip to content

Commit 367e6ea

Browse files
committed
Rearrange social icon order and make them optional
1 parent 1033834 commit 367e6ea

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

people/listings/management-listing.ejs

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,36 @@
1212
<!-- Social Icons Column -->
1313
<div class="col-md-1 d-flex justify-content-center align-items-center">
1414
<ul class="d-flex flex-row flex-md-column list-unstyled gap-3">
15+
<% if (item.social_media) { %>
16+
<% if (item.social_media.ORCID) { %>
1517
<li>
16-
<a href="https://linkedin.com" target="_blank" aria-label="LinkedIn">
17-
<i class="fa-brands fa-linkedin fa-2xl" aria-hidden="true"></i>
18+
<a href="<%= item.social_media.ORCID %>" target="_blank" aria-label="ORCID">
19+
<i class="fa-brands fa-orcid fa-2xl" aria-hidden="true"></i>
1820
</a>
1921
</li>
22+
<% } %>
23+
<% if (item.social_media.GitHub) { %>
2024
<li>
21-
<a href="https://github.com" target="_blank" aria-label="GitHub">
25+
<a href="<%= item.social_media.GitHub %>" target="_blank" aria-label="GitHub">
2226
<i class="fa-brands fa-github fa-2xl" aria-hidden="true"></i>
2327
</a>
2428
</li>
29+
<% } %>
30+
<% if (item.social_media.Bluesky) { %>
2531
<li>
26-
<a href="https://bluesky.com" target="_blank" aria-label="Bluesky">
32+
<a href="<%= item.social_media.Bluesky %>" target="_blank" aria-label="Bluesky">
2733
<i class="fa-brands fa-bluesky fa-2xl" aria-hidden="true"></i>
2834
</a>
2935
</li>
36+
<% } %>
37+
<% if (item.social_media.Linkedin) { %>
3038
<li>
31-
<a href="https://orcid.org" target="_blank" aria-label="ORCID">
32-
<i class="fa-brands fa-orcid fa-2xl" aria-hidden="true"></i>
39+
<a href="<%= item.social_media.Linkedin %>" target="_blank" aria-label="LinkedIn">
40+
<i class="fa-brands fa-linkedin fa-2xl" aria-hidden="true"></i>
3341
</a>
3442
</li>
43+
<% } %>
44+
<% } %>
3545
</ul>
3646
</div>
3747
@@ -74,6 +84,7 @@
7484
7585
.card-text {
7686
display: -webkit-box;
87+
line-clamp: 5;
7788
-webkit-line-clamp: 5; /* number of lines to show */
7889
-webkit-box-orient: vertical;
7990
overflow: hidden;

people/people/malika_ihle.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ website:
2121
# Social media links - variable number
2222
social_media:
2323
Bluesky: "https://bsky.app/profile/lmu-osc.bsky.social"
24-
LinkedIn: "https://www.linkedin.com/in/felixschoenbrodt"
24+
Linkedin: "https://www.linkedin.com/in/felixschoenbrodt"
2525
GitHub: "https://github.com/nicebread"
2626
ORCID: "https://orcid.org/0000-0002-8282-3910"
2727

0 commit comments

Comments
 (0)