-
Notifications
You must be signed in to change notification settings - Fork 35
/
committee.html
81 lines (77 loc) · 2.73 KB
/
committee.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
---
layout: page
title: Committee
styles:
- /css/committee.css
- /css/flags.css
scripts:
- /js/fadein.js
---
<h1>Committee</h1>
<p>
The committee represents all of our members. We take responsibility for organising the society and running events throughout the year.
</p>
<p>
Find our previous committees <a href="/committee-archive.html">here</a>.
</p>
<p>
If you want to get in touch with one of our committee members, you can send us a message on Discord using our tags below or <a href="mailto:[email protected]">send us an email</a>.
</p>
<p>
You can also find all of the agendas from our committee meetings <a href="../meetings">here</a>.
<p>
{% for committees in site.data.committee %}
{% assign committee = committees[1] %}
{% if committee.current %}
{% assign current_committee = committee %}
{% assign count = current_committee.people.size %}
{% for member in current_committee.people %}
{% if member.end-date %}
{% assign count = count | minus:1 %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
Currently {{ count }} elected members for {{ current_committee.academic_year }}:
</p>
<div class="person-container fadein-container">
{% for committees in site.data.committee %}
{% assign committee = committees[1] %}
{% for person in committee.people %}
{% unless person.end-date %}
<div class="person fadein hidden">
<img class="picture" src="{{ person.picture | relative_url }}" alt="picture of {{ person.name }}">
<div class="details">
<span class="name">{{ person.name }}</span>
<span class="discordtag">{{ person.discordtag }}</span>
{% if person.pronouns %}
<span class="pronouns">
{{person.pronouns}}
</span>
{% endif %}
<p class="role">
{% if committee.prefix %}{{committee.prefix}}{% endif %}
{{ person.role }}
{% if committee.postfix %}{{committee.postfix}}{% endif %}
{% if person.flags %}
{% for flag in person.flags %}
{% if site.data.committee-flags.flags[flag] %}
<span class="flag-{{ flag }}" title="{{ site.data.committee-flags.flags[flag].description }}"><!--
-->{{ site.data.committee-flags.flags[flag].text }}<!--
--></span>
{% endif %}
{% endfor %}
{% endif %}
|
{{ person.start-date | date: "%b %Y" }} -
{{ person.end-date | date: "%b %Y" | default: "Present" }}
</p>
<p class="bio">
{{ person.bio }}
</p>
</div>
</div>
{% endunless %}
{% endfor %}
{% endfor %}
</div>