-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·34 lines (33 loc) · 1.53 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
---
layout: default
styles: [article-list.css]
---
<div class="row row-set">
<div class="col-sm-10 col-sm-offset-1 col-lg-9 col-lg-offset-1_5">
<section class="category-slice" post-cate="All">
{% for post in paginator.posts %}
<article>
<div class="module">
<a class="title" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
<p>{% if post.excerpt.size > 500 %}{{ post.content | strip_html | strip_newlines | truncate: 500
}}{% else %}{{ post.excerpt }}{% endif %}</p>
<footer>
{% for tag in post.tags %}
<a class="word-keep" href="{{ site.baseurl }}/tags/#{{ tag }}"><span class="octicon octicon-tag"></span> {{ tag }}</a>
{% endfor %}
<span class="word-keep pull-right">
<a href="{{ post.url | prepend: site.baseurl }}#post-comment">
<span class="octicon octicon-comment"></span> Comment</a>
<a href="{{ post.url | prepend: site.baseurl }}#post-share">
<span class="octicon octicon-file-symlink-file"></span> Share</a>
</span>
</footer>
</div>
</article>
{% endfor %}
</section>
<nav class="text-center">
{% include page-pagination.html %}
</nav>
</div>
</div>