forked from poole/lanyon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (29 loc) · 1.14 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
---
layout: default
title: Home
---
<!-- Main -->
<div id="main">
{% for post in paginator.posts %}
<article class="post" itemtype="http://schema.org/BlogPosting" itemscope="">
{% include postheader.html item=post %}
<section class="post-content">{{ post.excerpt | remove: '<p>' | remove: '</p>' }}…</section>
<a href="{{ post.url }}" class="read-more">Read More</a>
</article>
<hr class="post-list" />
{% endfor %}
<!-- Pagination links -->
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path }}" class="icon fa-arrow-circle-o-left"><span class="label">Previous</span></a>
{% else %}
<span class="icon fa-arrow-circle-o-left"><span class="label">Previous</span></span>
{% endif %}
<span class="page_number ">Page: {{ paginator.page }} of {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}" class="icon fa-arrow-circle-o-right"><span class="label">Next</span></a>
{% else %}
<span class="icon fa-arrow-circle-o-right"><span class="label">Next</span></span>
{% endif %}
</div>
</div>