-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathindex.html
executable file
·50 lines (29 loc) · 1001 Bytes
/
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
---
layout: default
---
{% capture index %}
<div class="grid grid-pad">
<div class="col-1-3 mobile-col-1-1">
<h4>{{ site.desc }}</h4>
</div>
<br/>
</div>
<div class="grid grid-pad">
<div class="post">
{% for tag in site.categories %}
<div class="col-1-3 mobile-col-1-1">
<h2 id="{{ tag[0] }}">{{ tag[0] | capitalize }}</h2>
{% assign pages_list = tag[1] %} {% for post in pages_list %}
<ul class="post-list"> {% if post.title != null %} {% if group == null or group == post.group %}
<li class="list-item">
{% if post.image %}
<img src="{{site.baseurl}}/assets/thumbs/{{ post.image }}" class="img-thumb">
{% endif %}
<a href="{{ post.link }}">{{ post.title }}</a><br />{{ post.desc }}
</li>
</ul>
{% endif %} {% endif %} {% endfor %} {% assign pages_list = nil %} {% assign group = nil %}
</div>
{% endfor %}
</div>
{% endcapture %} {{ index | markdownify }}