-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (60 loc) · 2.18 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
---
layout: default
class: ""
---
{% if page.class != "" %}
<h2 style="text-align: center;">Turma de <b>{{page.class}}</b></h2>
{% endif %}
<!-- based on http://git.io/vvroy -->
<section>
<!-- TEACHERS -->
{% assign teachers = site.data.teachers sort: 'name' %}
{% for user_hash in teachers %}
{% assign username = user_hash[0] %}
{% assign user = user_hash[1] %}
<div class="js-student" data-username="{{ username }}">
<a href="https://github.com/{{ username }}">
<!-- TODO add loading image -->
<img class="js-avatar" src="" />
<div class="info">
<div>
<span class="github-username">@{{ username }}</span>
{% assign emoji = user.emoji | replace:':','' | replace:'+','--' %}
<i class="em em-{{ emoji }}"></i>
</div>
<div>
<span class="js-name"></span>
</div>
<p>
{{ user.introduction }}
</p>
</div>
</a>
</div>
{% endfor %}
<!-- STUDENTS -->
{% assign students = site.data.students sort: 'name' %}
{% for user_hash in students %}
{% assign username = user_hash[0] %}
{% assign user = user_hash[1] %}
<div class="js-student" data-username="{{ username }}">
<a href="https://github.com/{{ username }}">
<!-- TODO add loading image -->
<img class="js-avatar" src="" />
<div class="info">
<div>
<span class="github-username">@{{ username }}</span>
{% assign emoji = user.emoji | replace:':','' | replace:'+','--' %}
<i class="em em-{{ emoji }}"></i>
</div>
<div>
<span class="js-name"></span>
</div>
<p>
{{ user.introduction }}
</p>
</div>
</a>
</div>
{% endfor %}
</section>