Skip to content

Commit 56f43dc

Browse files
committed
Fix bug where current position for past members are not shown
1 parent a81c67f commit 56f43dc

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

_includes/card-authors-with-role.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
{% endunless %}
6262
{% endif %}
6363

64-
{% include display-author.html author=author loading=loading render_current_role=render_current_role
64+
{% include display-author.html author=author loading=loading render_current_role=include.render_current_role
6565
role_to_render=role_to_render %}
6666

6767
{% endif %}

_includes/display-author.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,9 @@
5858
{% endif %}
5959

6060
{% unless include.render_current_role %}
61-
{% if author.current_role == "Unaffiliated" %}
6261
<div class="author-note">
6362
<b>➡️ </b> {{ author.current_role.title }}
6463
</div>
65-
{% endif %}
6664
{% endunless %}
6765

6866
{% if author.links %}

_pages/people.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ layout: archive
2020

2121
{% include card-authors-with-role.html authors=site.data.authors role="Student" title="Master" render_current_role=true %}
2222

23-
<!-- ### Undergraduate
23+
### Undergraduate
2424

2525
{% include card-authors-with-role.html authors=site.data.authors role="Student" title="Undergraduate" render_current_role=true %}
2626

2727
### Intern
2828

29-
{% include card-authors-with-role.html authors=site.data.authors role="Student" title="Intern" render_current_role=true %} -->
29+
{% include card-authors-with-role.html authors=site.data.authors role="Student" title="Intern" render_current_role=true %}
3030

3131
---
3232

0 commit comments

Comments
 (0)