-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathblog.html
More file actions
50 lines (44 loc) · 1.83 KB
/
blog.html
File metadata and controls
50 lines (44 loc) · 1.83 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
---
layout: blog
title: Blog
permalink: /blog/
---
<div class="row">
<div class="col-lg-12 text-center">
<div class="navy-line"></div>
<h1>Latest Blog</h1>
</div>
</div>
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<div class="wrapper wrapper-content animated fadeInRight">
<!-- latest 10 blog -->
{% for post in site.posts limit:10 %}
<div class="vote-item">
<div class="row">
<div class="col-md-10">
<div class="vote-actions">
</div>
<a href="{{ post.url }}" class="vote-title">
{{ post.title }}
</a>
<div class="vote-info">
<!-- TODO 코멘트 가져오는 api 있는지 확인해보자
<i class="fa fa-comments-o"> </i> <a href="#" onclick="return false;">Comments (<span id = "url::{{post.url | prepend: site.url}}" class = "cy_cmt_count" ></span>)</a>
-->
<span class="disqus-comment-count" data-disqus-identifier="{{ post.url | prepend: site.url }}"></span>
<i class="fa fa-clock-o"></i> <a href="#" onclick="return false;">{{ post.date | date: "%-d %b %Y" }}</a>
<i class="fa fa-user"></i> <a href="#" onclick="return false;">{{ post.author }}</a>
</div>
</div>
<div class="col-md-2 ">
<div class="vote-icon">
{% if post.icon %}<i class="fa {{ post.icon }}"> </i>{% endif %}
</div>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</div>