-
Notifications
You must be signed in to change notification settings - Fork 28
/
team.html
62 lines (62 loc) · 2.26 KB
/
team.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
layout: sub-page
title: Meet The Team
permalink: /team/
intro_image:
intro_image_absolute: true
intro_image_hide_on_mobile: false
---
{% include get/team.liquid %}
<div class="row pb-5">
{% assign base_image_path = "/staff-list/" %}
{% assign promoted_teams = team | where: "promoted", true | sort: "weight" %}
{% for member in promoted_teams %}
<div class="col-12 col-md-6 mb-2">
<div class="h-100 team team-summary team-summary-large">
{% if member.image %}
<div class="team-image">
<img alt="{{ member.name }}" class="img-fluid mb-2" src="{{ base_image_path | append: member.image | relative_url }}" />
</div>
{% endif %}
<div class="team-meta">
{% if member.website %}
<a href="{{ member.website }}">
{% endif %}
<h2 class="team-name">{{ member.name }}</h2>
{% if member.website %}
</a>
{% endif %}
<p class="team-institution">{{ member.institution }}</p>
<p class="team-description">{{ member.path.title | default: member.title }}</p>
</div>
</div>
</div>
{% endfor %}
</div>
<div class="row px-2">
{% assign team = team | sort: "weight" | sort: "name" %}
{% for member in team %}
{% if member.promoted == nil %}
<div class="col-12 col-sm-6 col-lg-4 mb-3 px-1">
<div class="ps-5 ps-sm-0 team team-summary my-2">
{% if member.image %}
<div class="team-image">
<img alt="{{ member.name }}" class="img-fluid mb-2" src="{{ base_image_path | append: member.image | relative_url }}" />
</div>
{% endif %}
<div class="team-meta">
{% if member.website %}
<a href="{{ member.website }}">
{% endif %}
<h3 class="team-name m-0">{{ member.name }}</h3>
{% if member.website %}
</a>
{% endif %}
<p>{{ member.path.title | default: member.title }}</p>
<p class="team-institution"><small>{{ member.institution }}</small></p>
</div>
</div>
</div>
{% endif %}
{% endfor %}
</div>