forked from d4em0n/d4em0n.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
80 lines (76 loc) · 3.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
---
layout: default
---
<script>
var tags_list = [{% for tag_item in site.tags %} "{{ tag_item[0] }}" {% unless forloop.last %},{% endunless %} {% endfor %}];
var posts = [{% for post in site.posts %}
{
"title": "{{ post.title }}",
"category": "{{ post.category }}",
"url": "{{ post.url }}",
"excerpt": "{{ post.excerpt | strip | strip_html | escape }}",
"date": "{{ post.date | date_to_long_string }}",
"author": "{{ post.author }}",
"tags": [{% for tag in post.tags %} "{{tag}}" {% unless forloop.last %},{% endunless %}{% endfor %}]
}{% unless forloop.last %},{% endunless %}{% endfor %}
];
</script>
<div class="columns">
<div class="column is-9" id="posts">
</div>
<div class="column has-background-light">
<h2 class="title is-spaced">Tags</h2>
<!--
<div class="field is-grouped is-grouped-multiline">
<div class="control">
<div class="tags has-addons">
<a class="tag is-link is-rounded">Open Source</a>
<a class="tag is-delete"></a>
</div>
</div>
<div class="control">
<div class="tags has-addons">
<a class="tag is-link is-rounded">Community</a>
<a class="tag is-delete"></a>
</div>
</div>
</div>
-->
<div class="is-divider" style="margin-top:5px;margin-bottom:15px"></div>
<div class="field is-grouped is-grouped-multiline">
{% for tag_item in site.tags %}
<div class="control">
<div class="tags has-addons">
{% assign color = tag_item[0] %}
<a class="tag is-{{ site.tags_color[color] | default: 'primary' }}" href="#{{ tag_item[0] }}">{{ tag_item[0] }}</a>
</div>
</div>
{% endfor %}
</div>
<div style="margin-top: 40px"></div>
<h2 class="title is-spaced">Recent Posts</h2>
<div class="is-divider" style="margin-top:0px;margin-bottom:15px"></div>
<div class="field">
{% for post in site.posts offset:0 limit:5 %}
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
{% endfor %}
</div>
<!--
Disabled because not working in gh-pages
<div style="margin-top: 40px"></div>
<h2 class="title is-spaced">Archive</h2>
<div class="is-divider" style="margin-top:0px;margin-bottom:15px"></div>
<div class="field">
{% assign postsByYearMonth = site.posts | group_by_exp:"post", "post.date | date: '%B %Y'" %}
{% for yearMonth in postsByYearMonth %}
<h3><a href="{{ yearMonth.name | date: "/%Y/%m"}}">{{ yearMonth.name }}</a></h3>
{% endfor %}
</div>
-->
<div style="margin-top: 40px"></div>
<h2 class="title is-spaced">Facebook Feed</h2>
<div class="is-divider" style="margin-top:0px;margin-bottom:15px"></div>
<div class="fb-page" data-href="https://www.facebook.com/Reversing.ID/" data-tabs="timeline" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/Reversing.ID/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/Reversing.ID/">Reversing.ID</a></blockquote></div>
<div style="margin-top: 40px"></div>
</div>
</div>