-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
28 lines (27 loc) · 875 Bytes
/
index.html
File metadata and controls
28 lines (27 loc) · 875 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
27
28
---
layout: default
---
<div class="posts">
{% for post in paginator.posts %}
<article class="postindex">
<h2 class="posttitle"><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h2>
<div class="entry">
{{ post.excerpt }}
</div>
<a href="{{ site.baseurl }}{{ post.url }}" class="btn btn-sm btn-primary">続きを読む »</a>
</article>
{% endfor %}
<ul class="pager">
{% if paginator.previous_page %}
<li><a href="{{ paginator.previous_page_path }}">« 前へ</a></li>
{% else %}
<li>« 前へ</li>
{% endif %}
<span>ページ: {{ paginator.page }} / {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<li><a href="{{ paginator.next_page_path }}">次へ »</a></li>
{% else %}
<li>次へ »</li>
{% endif %}
</ul>
</div>