Skip to content

Commit 7bea5f2

Browse files
committed
feat: add support for current_position field for alumni
1 parent 8566535 commit 7bea5f2

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

_layouts/people-category.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ <h2 class="category-header">{{ category }}</h2>
6060
<p class="professional_title">{{ person.subtitle }}</p>
6161
{% endif %}
6262

63+
{% comment %} Additional line for current_position if provided {% endcomment %}
64+
{% if person.status == "Alumni" and person.current_position %}
65+
<p class="current_position">{{ person.current_position }}</p>
66+
{% endif %}
67+
6368
{% if person.additional_links %}
6469
<div class="additional-links-container">
6570
{% if person.additional_links.github %}

_sass/pages/_people.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,14 @@
6868
font-weight: 400;
6969
margin: 0px;
7070
}
71+
72+
.current_position {
73+
font-size: 0.875rem;
74+
line-height: inherit;
75+
font-weight: 500;
76+
margin: 0px;
77+
}
78+
7179
.description {
7280
display: none;
7381
margin-top: 10px;

0 commit comments

Comments
 (0)