forked from nhoss2/jekyll-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
28 lines (24 loc) · 780 Bytes
/
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
---
layout: nil
is_index: true
---
{% include header.html %}
{% for post in paginator.posts %}
{% include post.html %}
{% endfor %}
<div class="pagination" id="bottom_page">
<ul>
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<li class="previous"><a href="{{ linkhome }}">← Previous</a></li>
{% else %}
<li class="previous"><a href="{{ site.baseurl }}/page{{ paginator.previous_page }}">← Previous</a></li>
{% endif %}
{% endif %}
<li><p>Page {{ paginator.page }} of {{ paginator.total_pages }}</p></li>
{% if paginator.next_page %}
<li class="next"><a href="{{ site.baseurl }}/page{{ paginator.next_page }}">Next →</a></li>
{% endif %}
</ul>
</div>
{% include footer.html %}