-
Notifications
You must be signed in to change notification settings - Fork 21
/
authors.html
148 lines (146 loc) · 6.75 KB
/
authors.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
---
layout: page
title: Authors
hide-title: True
permalink: /authors/
---
<div class='author-page'>
{% assign sorted_authors = site.data.authors | sort %}
<h2 class='page-subheading'>Editors</h2>
<div class="authors-list">
{% for author in site.data.authors %}
{% assign author_key = author[0] %}
{% assign author_data = author[1] %}
{% if author_data.editor and author_data.current %}
<div class="author">
<h3>{{ author_data.name }}</h3>
{% if author_data.title %}<h4>{{ author_data.title }}</h4>{% endif %}
{% if author_data.mug %}
<img class="mug" src="/img/mugs/{{ author_key }}.jpg" />
{% else %}
<img class="mug" src="/img/db_icon.jpeg" />
{% endif %}
{% if author_data.bio %}
{{ author_data.bio | markdownify }}
{% endif %}
<ul class="contact">
{% if author_data.github %}
<li><a href="https://github.com/{{ author_data.github }}"><img src="/img/icons/github.svg" /></a></li>
{% endif %}
{% if author_data.twitter %}
<li><a href="https://twitter.com/{{ author_data.twitter }}"><img src="/img/icons/twitter.svg" /></a></li>
{% endif %}
{% if author_data.email %}
<li><a href="mailto:{{ author_data.email }}"><img src="/img/icons/email.svg" /></a></li>
{% endif %}
{% if author_data.website %}
<li><a href="{{ author_data.website }}"><img src="/img/icons/globe.svg" /></a></li>
{% endif %}
</ul>
</div>
{% endif %}
{% endfor %}
</div>
<h2 class='page-subheading'>Current authors</h2>
<div class="authors-list">
{% for author in sorted_authors %}
{% assign author_key = author[0] %}
{% assign author_data = author[1] %}
{% if author_data.current and author_data.editor != true %}
<div class="author">
<h3>{{ author_data.name }}</h3>
{% if author_data.title %}<h4>{{ author_data.title }}</h4>{% endif %}
{% if author_data.mug %}
<img class="mug" src="/img/mugs/{{ author_key }}.jpg" />
{% else %}
<img class="mug" src="/img/db_icon.jpeg" />
{% endif %}
{% if author_data.bio %}
{{ author_data.bio | markdownify }}
{% endif %}
<ul class="contact">
{% if author_data.github %}
<li><a href="https://github.com/{{ author_data.github }}"><img src="/img/icons/github.svg" /></a></li>
{% endif %}
{% if author_data.twitter %}
<li><a href="https://twitter.com/{{ author_data.twitter }}"><img src="/img/icons/twitter.svg" /></a></li>
{% endif %}
{% if author_data.email %}
<li><a href="mailto:{{ author_data.email }}"><img src="/img/icons/email.svg" /></a></li>
{% endif %}
{% if author_data.website %}
<li><a href="{{ author_data.website }}"><img src="/img/icons/globe.svg" /></a></li>
{% endif %}
</ul>
</div>
{% endif %}
{% endfor %}
</div>
<h2 class='page-subheading'>Past editors</h2>
<div class="authors-list">
{% for author in sorted_authors %}
{% assign author_key = author[0] %}
{% assign author_data = author[1] %}
{% if author_data.editor and author_data.current != true%}
<div class="author">
<h3>{{ author_data.name }}</h3>
{% if author_data.title %}<h4>{{ author_data.title }}</h4>{% endif %}
{% if author_data.mug %}
<img class="mug" src="/img/mugs/{{ author_key }}.jpg" />
{% else %}
<img class="mug" src="/img/db_icon.jpeg" />
{% endif %}
{% if author_data.bio %}
{{ author_data.bio | markdownify }}
{% endif %}
<ul class="contact">
{% if author_data.github %}
<li><a href="https://github.com/{{ author_data.github }}"><img src="/img/icons/github.svg" /></a></li>
{% endif %}
{% if author_data.twitter %}
<li><a href="https://twitter.com/{{ author_data.twitter }}"><img src="/img/icons/twitter.svg" /></a></li>
{% endif %}
{% if author_data.email %}
<li><a href="mailto:{{ author_data.email }}"><img src="/img/icons/email.svg" /></a></li>
{% endif %}
{% if author_data.website %}
<li><a href="{{ author_data.website }}"><img src="/img/icons/globe.svg" /></a></li>
{% endif %}
</ul>
</div>
{% endif %}
{% endfor %}
</div>
<h2 class='page-subheading'>Past authors</h2>
<div class="authors-list">
{% for author in sorted_authors %}
{% assign author_key = author[0] %}
{% assign author_data = author[1] %}
{% unless author_data.current or author_data.editor %}
<div class="author">
<h3>{{ author_data.name }}</h3>
{% if author_data.title %}<h4>{{ author_data.title }}</h4>{% endif %}
{% if author_data.mug %}
<img class="mug" src="/img/mugs/{{ author_key }}.jpg" />
{% else %}
<img class="mug" src="/img/db_icon.jpeg" />
{% endif %}
{% if author_data.bio %}
{{ author_data.bio | markdownify }}
{% endif %}
<ul class="contact">
{% if author_data.github %}
<li><a href="https://github.com/{{ author_data.github }}"><img src="/img/icons/github.svg" /></a></li>
{% endif %}
{% if author_data.twitter %}
<li><a href="https://twitter.com/{{ author_data.twitter }}"><img src="/img/icons/twitter.svg" /></a></li>
{% endif %}
{% if author_data.website %}
<li><a href="{{ author_data.website }}"><img src="/img/icons/globe.svg" /></a></li>
{% endif %}
</ul>
</div>
{% endunless%}
{% endfor %}
</div>
</div>