forked from harbour/harbour.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
crew.html
62 lines (58 loc) · 1.86 KB
/
crew.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: default
title: "The Crew"
---
<div class="crew-layout">
<section>
<h1>The Harbour Crew</h1>
<p><a href="https://github.com/{{ site.site_slug }}/edit/{{ site.site_branch_and_root }}_data/members.yml"><i class="fa fa-pencil" aria-hidden="true"></i> Edit/Add your info</a>
<p>Per country in alphabetical order:
<div>
{% assign countries_sorted = site.data.countries | sort: 'name' %}
{% assign members_sorted = site.data.members | sort: 'name' %}
{% for country in countries_sorted %}
<h4 id="{{ country.id }}">{{ country.name }}</h4>
{% for member in members_sorted %}
{% if member.country == country.id %}
<div>
<p>
{% if member.url != nil %}
<a href="{{ member.url }}" class="crew-person-name crew-mail" id="{{ member.name | slugify }}">{{ member.name }}</a>
{% else %}
<span class="crew-person-name" id="{{ member.name | slugify }}">{{ member.name }}</span>
{% endif %}
{% for pic in member.photos %}
<a href="https://harbour.github.io/images/crew_{{ pic }}"><img src="https://harbour.github.io/images/crew_{{ pic }}" height="40" alt="photo"></a>
{% endfor %}
{% if member.photos.size > 0 %}
<br>
{% endif %}
{{ member.title }}
</div>
{% endif %}
{% endfor %}
{% endfor %}
</div>
<br>
</section>
<aside class="crew-content">
<div>
<h1>Countries</h1>
<hr>
<ul class="crew-country-list">
{% for country in countries_sorted %}
<li><a href="#{{ country.id }}"><img src="{{ site.baseurl }}/images/flag-{{ country.id }}.svg" alt="flag" width="31" height="16">{{ country.name }}</a>
{% endfor %}
</ul>
</div>
<div>
<h1>First Name Alphabetical</h1>
<hr>
<ul class="crew-alphalist">
{% for member in members_sorted %}
<li><a href="#{{ member.name | slugify }}">{{ member.name }}</a>
{% endfor %}
</ul>
</div>
</aside>
</div>