-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathindex.html
More file actions
30 lines (26 loc) · 1015 Bytes
/
Copy pathindex.html
File metadata and controls
30 lines (26 loc) · 1015 Bytes
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
---
layout: index
title: 午夜咖啡
tagline: jolestar's blog
---
{% include JB/setup %}
<div class="row-fluid">
<div class="span12" display="none"></div>
{% for post in paginator.posts %}
{% capture summary %}{{post.content | split:'<!--more-->' |first }}{% endcapture%}
<div class="span12 row">
<h2><a class="title" href="{{ BASE_PATH }}{{ post.url }}">{{ post.title }}</a></h2>
<div class="post_at_index">
{{summary}}
{% if summary != post.content %}<a href="{{ BASE_PATH }}{{ post.url }}" rel="nofollow">Read more...</a>{% endif %}
</div>
<br/>
<div>
<cite>{{ post.date | date: "%Y-%m-%d" }}</cite> <i class="icon-tag"></i> {% for tag in post.tags %}<a href="{{ BASE_PATH }}{{ site.JB.tags_path }}#{{ tag }}-ref">{{ tag }}</a>{% if forloop.last %}{% else %}, {% endif %}{% endfor %}
</div>
<div style="clear: both;"></div>
<hr/>
</div>
{% endfor %}
</div>
{% include ever/pagination %}