Skip to content

Commit

Permalink
don't show title on alumni page
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsu committed Jul 30, 2024
1 parent 47c60a4 commit adbf640
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions _includes/portrait.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,17 @@
{% endif %}

{% if member.role or member.description %}
<span class="portrait-role">
{% assign type = site.data.types[member.role] %}
{% include icon.html icon=type.icon %}
<span>{{ member.description | default: type.description }}</span>
{% if page.group == "alum" %}
<span><br />LAB ALUMNUS</span>
{% endif %}
</span>
{% assign show_role = true %}
{% if page.url contains "/team/alumni" %}
{% assign show_role = false %}
{% endif %}
{% if show_role %}
<span class="portrait-role">
{% assign type = site.data.types[member.role] %}
{% include icon.html icon=type.icon %}
<span>{{ member.description | default: type.description }}</span>
</span>
{% endif %}
{% endif %}
</span>
{% endif %}
Expand Down

0 comments on commit adbf640

Please sign in to comment.