-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
64 lines (38 loc) · 1.37 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
---
layout: default
title: "Dr. Jekyll's Themes"
---
<div class='gallery'>
{% include views.html %}
<h2>Trending (22) <a href="{{ '/trending' | relative_url }}"> » </a></h2>
{% assign trending_themes = site.data.o.themes | sort: "stars_week" | reverse %}
{% for theme in trending_themes limit:6 %}
{% include theme.html theme=theme %}
{% endfor %}
<div>
<a href="{{ '/trending' | relative_url }}">More »</a>
</div>
<h2>Newest (11) <a href="{{ '/new' | relative_url }}"> » </a></h2>
{% assign new_themes = site.data.o.themes | sort: "created" | reverse %}
{% for theme in new_themes limit:6 %}
{% include theme.html theme=theme %}
{% endfor %}
<div>
<a href="{{ '/new' | relative_url }}">More »</a>
</div>
<h2>Top (22) <a href="{{ '/top' | relative_url }}"> » </a></h2>
{% assign top_themes = site.data.o.themes | sort: "stars" | reverse %}
{% for theme in top_themes limit:6 %}
{% include theme.html theme=theme %}
{% endfor %}
<div>
<a href="{{ '/top' | relative_url }}">More »</a>
</div>
<h2>All ({{ site.data.o.themes | size }}) <a href="{{ '/all' | relative_url }}"> » </a></h2>
{% for theme in site.data.o.themes limit:6 %}
{% include theme.html theme=theme %}
{% endfor %}
<div>
<a href="{{ '/all' | relative_url }}">More »</a>
</div>
</div>