-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (47 loc) · 1.77 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
---
layout: default
title: michis-note
---
<div id="top">
<h1>Blog Posts</h1>
<ul class="post-list">
{% for post in site.posts %}
<article>
<div class="thumbnail">
<img src="/img/{{ post.thumbnail }}">
</div>
<div class="title">
<a href="{{ post.url }}">{{ post.title }}</a>
</div>
<div class="footer">
<div class="sns" ng-controller="snsCtrl">
<ul>
<li ng-init="getFacebookCount('{{ site.baseurl }}{{ post.url }}')">
<span class="facebook-icon">F</span>
<span>{[{ fbCount.count }]}</span>
</li>
<li ng-init="getTwitterCount('{{ site.baseurl }}{{ post.url }}')">
<span class="twitter-icon">T</span>
<span>{[{ twCount.count }]}</span>
</li>
<li ng-init="getHatebuCount('{{ site.baseurl }}{{ post.url }}')">
<span class="hatebu-icon">H</span>
<span>{[{ hbCount.count }]}</span>
</li>
</ul>
</div>
<div class="tag">
<span class="tag-icon">[</span>
{% for tag in post.tags %}
<a href="/tag/{{ tag }}">{{ tag }}</a>
{% endfor %}
</div>
<div class="date">
<span class="clock-icon">;</span>
{{ post.date | date_to_string }}
</div>
</div>
</article>
{% endfor %}
</ul>
</div>