-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathauthors.html
44 lines (35 loc) · 960 Bytes
/
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
---
layout: page
title: "Authors"
---
{% assign sorted_authors = site.data.o.authors | sort: 'stars' | reverse %}
<table>
{% for author in sorted_authors %}
<tr>
<td>
{% if author.stars and author.stars > 0 %}
★{{ author.stars }}
{% if author.stars_week and author.stars_week > 0 %}
(⇑{{ author.stars_week}})
{% endif %}
{% endif %}
</td>
<td>
{% include author.html author=author.name size=32 %}
{% if author.themes_count > 1 %}
({{ author.themes_count }})
{% endif %}
</td>
<td>
{% for theme_name in author.themes %}
{% assign theme = site.data.o.theme_by_name[ theme_name ] %}
<a href="{{ theme.home_url }}">{{ theme.name }}</a>
<span style="font-size: 80%">
{% include theme_stars.html theme=theme %}
</span>
{% if forloop.last %} {% else %} • {% endif %}
{% endfor %}
</td>
</tr>
{% endfor %}
</table>