Skip to content

Commit

Permalink
Added previous staff section to the team page.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhymlore committed May 10, 2024
1 parent 086db99 commit bad4436
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions _about/team.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ <h2 class="ps-3">Executive Team</h2>
<h2 class="ps-3">Full Team</h2>
<div class="row g-0 bg-light rounded bg-light pb-2 pe-2">
{% for member in team %}
{% if member.status != "Past" %}
<div class="col-6 col-sm-6 col-md-4 col-lg-3 col-xxl-2 pt-2 ps-2 d-flex">
<div class="card border-0 shadow flex-grow-1">
<img class="card-img-top" src="{{ base_image_path | append: member.image | relative_url }}" alt="Card image cap">
Expand All @@ -62,7 +63,33 @@ <h2 class="ps-3">Full Team</h2>
</div>
</div>
</div>
{% endif %}
{% endfor %}
<br>
</div>
</div>
<div class="container-xxl">
<h2 class="ps-3">Previous Team Members</h2>
<div class="row g-0 bg-light rounded bg-light pb2 pe-2">
{% for member in team %}
{% if member.status == "Past" %}
<div class="col-6 col-sm-6 col-md-4 col-lg-3 col-xxl-2 pt-2 ps-2 d-flex">
<div class="card border-0 shadow flex-grow-1">
<img class="card-img-top" src="{{ base_image_path | append: member.image | relative_url }}" alt="Card image cap">
<div class="card-body d-flex flex-column">
<div class="card-text">
{% if member.website %}
<b><a href="{{member.website}}">{{member.name}}</a></b><br>
{% else %}
<b>{{member.name}}</b><br>
{% endif %}
<small>{{member.institution}}</small><br><br>
</div>
<div class="card-text mt-auto"><i>{{member.osg.title | default: member.title}}</i><br></div>
</div>
</div>
</div>
{% endif %}
{% endfor %}
</div>
</div>

0 comments on commit bad4436

Please sign in to comment.