-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmembers.html
66 lines (58 loc) · 1.7 KB
/
members.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
title: 구성원
---
<div class="component">
<h1>임원진</h1>
{% assign years = "" | split: "" %}
{% for executives_hash in site.data.executives %}
{% assign years = years | push: executives_hash[0] %}
{% endfor %}
{% assign years = years | sort | reverse %}
{% for year in years %}
{% assign executives = site.data.executives[year] %}
<div class="executives">
<h2 class="year">{{ year }}</h2>
<p class="executive president">회장: {{ executives.president }}</p>
<p class="executive vice_president">부회장: {{ executives.vice_president }}</p>
<p class="executive treaturer">총무: {{ executives.treasurer }}</p>
<p class="executive academic_director">학술부장: {{ executives.academic_director }}</p>
</div>
{% endfor %}
<h1>구성원</h1>
{% assign years = "" | split: "" %}
{% for members_hash in site.data.members %}
{% assign years = years | push: members_hash[0] %}
{% endfor %}
{% assign years = years | sort | reverse %}
{% for year in years %}
{% assign members = site.data.members[year] %}
<div class="members">
<h2 class="year">{{ year }}</h2>
<ul>
{% for member in members %}
<li><b>{{ member.name }}</b>, {{ member.nickname }}</li>
{% endfor %}
</ul>
</div>
{% endfor %}
<h1>맴버카드</h1>
{% for member in site.members %}
<div class="member_card">
<header>
<div class="profile_picture">
<svg height="80" width="80">
<circle cx="40" cy="40" r="40" fill="#E34237"/>
</svg>
</div>
<div class="name">
<h1 class="member_name">{{ member.name }}</h1>
<h2 class="member_nickname">@{{ member.nickname }}</h2>
</div>
</header>
<section>
{{ member.content }}
</section>
</div>
{% endfor %}
</div>