-
Notifications
You must be signed in to change notification settings - Fork 27
/
index.html
65 lines (64 loc) · 2.38 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
---
layout: default
title: Themes and Plugins
overview: true
---
<section class="intro">
<div class="grid">
<div class="unit whole center-on-mobiles">
<p class="first">{{ site.description }}</p>
</div>
</div>
</section>
<section class="features {{ page.title | slugify }}">
<div class="grid">
<div class="unit whole center-on-mobiles">
<h2>Plugins</h2>
{% for plugins in site.plugins reversed limit:30 %}
{% capture modulo %}{{ forloop.index0 | modulo:3 }}{% endcapture %}
{% if modulo == '0' or forloop.first %}
<div class="grid">
{% endif %}
<div class="unit one-third">
<a href="{{ plugins.url | prepend: site.baseurl }}" title="{{ plugins.title }}">{{ plugins.title }}</a>
</div>
{% if modulo == '2' or forloop.last %}
</div>
{% endif %}
{% if forloop.last %}
<p class="call-to-action align-center">
<a href="{{ "/plugins/" | prepend: site.baseurl }}">Browse all plugins →</a>
</p>
{% endif %}
{% endfor %}
</div>
<div class="grid">
<div class="unit whole center-on-mobiles">
<h2>Themes</h2>
{% for theme in site.themes limit:12 %}
{% capture modulo %}{{ forloop.index0 | modulo:3 }}{% endcapture %}
{% if modulo == '0' or forloop.first %}
<div class="grid themes">
{% endif %}
<div class="unit one-third align-center">
<a href="{{ theme.url | prepend: site.baseurl }}" title="{{ theme.title }}"><img class="theme-thumbnail" src="assets/img/themes/thumbnails/{{ theme.title }}.jpg" alt=""></a>
<h3 class="theme-title"><a href="{{ theme.url | prepend: site.baseurl }}" title="{{ theme.title }}">{{ theme.title }}</a></h3>
</div>
{% if modulo == '2' or forloop.last %}
</div>
{% endif %}
{% endfor %}
<p class="call-to-action align-center">
<a href="{{ "/themes/" | prepend: site.baseurl }}">Browse all themes →</a>
</p>
</div>
</div>
<div class="grid">
<div class="unit whole">
<h2>Open-Source</h2>
<p>Did you create a theme or a plugin you would like to share? Submit a pull-request.</p>
<p><a href="{{ site.repository }}/blob/master/CONTRIBUTING.md" class="">Contribute →</a></p>
</div>
</div>
</div>
</section>