-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
67 lines (55 loc) · 1.66 KB
/
index.html
File metadata and controls
67 lines (55 loc) · 1.66 KB
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
---
layout: default
title: "Projects"
---
{% capture sorted_tags %}{% for t in site.tags %}{{ t[0] }}|{% endfor %}{% endcapture %}
{% assign tags = sorted_tags | split: "|" | reverse %}
<h2 class="page-header">Projects</h2>
<div class="row">
{% assign i = 0 %}
{% for tag in tags %}
{% assign project=site.data.projects[tag] %}
{% if project.archive != true %}
<div class="col-md-4 boxout">
<a href="projects/{{ tag }}.html">
<img src="/images/{{ tag }}/cover.tn.jpg" height="200" class="img-responsive">
<h3>{{ project.title }}</h3>
<div><small>Last update: {{ site.tags[tag].first.date | date_to_long_string }}</small></div>
</a>
</div>
{% if i == '2' %}
{% assign i = 0 %}
</div>
<br>
<div class="row">
{% else %}
{% capture i %}{{ i | plus: 1 }}{% endcapture %}
{% endif %}
{% endif %}
{% endfor %}
</div>
<br>
<h2 class="page-header">Archive</h2>
<div class="row">
{% assign i = 0 %}
{% for tag in tags %}
{% assign project=site.data.projects[tag] %}
{% if site.data.projects[tag].archive == true %}
<div class="col-md-4 boxout">
<a href="projects/{{ tag }}.html">
<img src="/images/{{ tag }}/cover.tn.jpg" height="200" class="img-responsive">
<h3>{{ site.data.projects[tag].title }}</h3>
<div><small>Last update: {{ site.tags[tag].first.date | date_to_long_string }}</small></div>
</a>
</div>
{% if i == '2' %}
{% assign i = 0 %}
</div>
<br>
<div class="row">
{% else %}
{% capture i %}{{ i | plus: 1 }}{% endcapture %}
{% endif %}
{% endif %}
{% endfor %}
</div>