/
tech.html
83 lines (60 loc) · 1.77 KB
/
tech.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
---
layout: default
title : Tech
header : Tech
group: navigation
weight: "AD"
icon: "jonascii.png"
---
{% include JB/setup %}
<subtitle>{{page.title}}</subtitle>
<ul class="tag_box inline no_border">
{% assign techArray = site.techarray %}
{% assign areas = site.categories.tech | map: 'area' | sort %}
{% assign areas2 = areas | uniq %}
{% assign prevtag = '' %}
{% for tag in areas %}
{% unless prevtag == tag %}
<li>
<a href="#{{tag}}">
{{tag}}
</a>
</li>
{% endunless %}
{% assign prevtag = tag %}
{% endfor %}
</ul>
<div class='clear inline'>
<a href="http://github.com/lemez">
<img class='realfullwidth left' src="http://ghchart.rshah.org/lemez" alt="My Github commits chart" />
</a>
<footer class="right">My Github commits: green = 'machine autism', grey = 'having a life'</footer>
</div>
<br>
<div class='clear'>
{% assign tech_list = (site.categories.tech | sort: 'area' ) %}
{% assign prevtag = '' %}
{% for post in tech_list %}
<div class="all_page_links" >
<a href={{post.url}}>
{% if prevtag != post.area %}
<span id="{{post.area}}" class="all_page_tagline category"> {{post.area}}</span>
{% else %}
<span class="all_page_tagline category"> {{post.area}}</span>
{% endif %}
<span class="all_page_tagline category">: {{post.year}}</span>
<br>
<img class="allnote" src="{{IMAGE_CROP_PATH}}/{{post.image}}"/>
<div class="index-title">
<h3>
<span class="all_page_main">{{post.title}}</span>
<br>
</h3>
<p class='all_desc'> {{post.description}}</p>
</div>
</a>
</div>
<hr class='nomargin'>
{% assign prevtag = post.area %}
{% endfor %}
</div>