forked from ttskch/jekyll-ttskch-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
26 lines (23 loc) · 658 Bytes
/
index.html
File metadata and controls
26 lines (23 loc) · 658 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: default
---
{% for post in paginator.posts %}
<div class="article-wrapper">
<article>
{% include article-header.html page=post link=true %}
<section class="post-content">
{% assign size = post.content | split: site.excerpt_separator | size %}
{% if size > 1 %}
{{ post.excerpt }}
<a class="btn" href="{{ post.url | prepend: site.baseurl }}">{{ site.str_read_more }}</a>
{% else %}
{{ post.content }}
{% endif %}
</section>
</article>
</div>
{% if forloop.last != true %}
<hr/>
{% endif %}
{% endfor %}
{% include paginator.html %}