File tree 2 files changed +24
-6
lines changed
2 files changed +24
-6
lines changed Original file line number Diff line number Diff line change 1
1
{% comment %}
2
2
New Team Helper
3
-
3
+
4
4
Create a new team that can be included in the people's page.
5
5
{% endcomment %}
6
6
@@ -18,12 +18,14 @@ <h2>{{ include.name }}</h2>
18
18
< div class ="card-section ">
19
19
{% include helpers/avatar_exists.html %}
20
20
{% if avatar_exists == "true" %}
21
- < img src ="{{ avatar_path_exists }} "
21
+ < img src ="{{ avatar_path_exists }} "
22
22
class ="rounded "
23
23
width ="128 "
24
+ height ="128 "
25
+ style ="max-height: 128px; max-width: 128px; "
24
26
alt ="Profile Picture's of {{ person[1].name }} ">
25
27
{% elsif avatar_exists == "false" %}
26
- < img src ="/assets/img/osm/osm-avatar-default.png "
28
+ < img src ="/assets/img/osm/osm-avatar-default.png "
27
29
class ="rounded "
28
30
width ="128 "
29
31
aria-hidden ="true "
Original file line number Diff line number Diff line change 6
6
7
7
< div class ="grid-container ">
8
8
{% for person in site.data.people %}
9
+ {% if person[1].team == "steering-committee" %}
10
+ {% assign steering = true %}
11
+ {% endif %}
9
12
{% if person[1].team == "code-of-conduct-committee" %}
10
13
{% assign coc = true %}
11
14
{% endif %}
15
+ {% if person[1].team == "advisors" %}
16
+ {% assign advisors = true %}
17
+ {% endif %}
18
+ {% if person[1].team == "production" %}
19
+ {% assign production = true %}
20
+ {% endif %}
12
21
{% endfor %}
13
22
14
- {% include helpers/new_team.html name="Steering Committee" %}
23
+ {% if steering %}
24
+ {% include helpers/new_team.html name="Steering Committee" %}
25
+ {% endif %}
15
26
16
27
{% if coc %}
17
28
{% include helpers/new_team.html name="Code of Conduct Committee" %}
18
29
{% endif %}
19
30
20
- {% include helpers/new_team.html name="Advisors" %}
21
- {% include helpers/new_team.html name="Production" %}
31
+ {% if advisors %}
32
+ {% include helpers/new_team.html name="Advisors" %}
33
+ {% endif %}
34
+
35
+ {% if production %}
36
+ {% include helpers/new_team.html name="Production" %}
37
+ {% endif %}
22
38
</ div >
You can’t perform that action at this time.
0 commit comments