forked from welcome-to-open-source/ucla
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
85 lines (78 loc) · 2.99 KB
/
index.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
82
83
84
85
---
layout: default
title: UCLA - Welcome to Open Source!
root_path: ./
---
<h1>UCLA - Welcome to Open Source!</h1>
<h2>
Participants
<small>(<a href="https://github.com/welcome-to-open-source/ucla/blob/master/add_yourself_as_participant.md">add yourself</a>)</small>
</h2>
<ul class="avatars">
{% for participant in site.posts %}
<li class="{{ participant.type }}">
<a href="#participant-{{ participant.github }}">
<img src="https://github.com/{{ participant.github }}.png?size=120" alt="{{ participant.name }} avatar">
</a>
</li>
{% endfor %}
</ul>
<div class="participants">
<!-- list organizers first -->
{% for participant in site.posts %}
{% if participant.type == 'organizer' %}
<article id="participant-{{ participant.github }}" class="{{ participant.type }}">
<img src="https://github.com/{{ participant.github }}.png?size=120" alt="{{ participant.name }} avatar">
<h3>{{ participant.name }} ({{ participant.type }})</h3>
<p class="social">
<a href="https://github.com/{{ participant.github }}">GitHub</a>
{% if participant.twitter %}
| <a href="https://twitter.com/{{ participant.twitter }}">Twitter</a>
{% endif %}
{% if participant.website %}
| <a href="{{ participant.website }}">website</a>
{% endif %}
</p>
{{ participant.content }}
</article>
{% endif %}
{% endfor %}
<!-- list mentors 2nd -->
{% for participant in site.posts %}
{% if participant.type == 'mentor' %}
<article id="participant-{{ participant.github }}" class="{{ participant.type }}">
<img src="https://github.com/{{ participant.github }}.png?size=120" alt="{{ participant.name }} avatar">
<h3>{{ participant.name }} ({{ participant.type }})</h3>
<p class="social">
<a href="https://github.com/{{ participant.github }}">GitHub</a>
{% if participant.twitter %}
| <a href="https://twitter.com/{{ participant.twitter }}">Twitter</a>
{% endif %}
{% if participant.website %}
| <a href="{{ participant.website }}">website</a>
{% endif %}
</p>
{{ participant.content }}
</article>
{% endif %}
{% endfor %}
<!-- list attendees 3rd -->
{% for participant in site.posts %}
{% if participant.type == 'attendee' %}
<article id="participant-{{ participant.github }}" class="{{ participant.type }}">
<img src="https://github.com/{{ participant.github }}.png?size=120" alt="{{ participant.name }} avatar">
<h3>{{ participant.name }} ({{ participant.type }})</h3>
<p class="social">
<a href="https://github.com/{{ participant.github }}">GitHub</a>
{% if participant.twitter %}
| <a href="https://twitter.com/{{ participant.twitter }}">Twitter</a>
{% endif %}
{% if participant.website %}
| <a href="{{ participant.website }}">website</a>
{% endif %}
</p>
{{ participant.content }}
</article>
{% endif %}
{% endfor %}
</div>