forked from ChaseFlorell/chaseflorell.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
29 lines (21 loc) · 910 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
---
layout: default
---
<section class="main-content">
{% for post in paginator.posts %}
<article class="module color-3">
<h2><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h2>
<span class="category">{{ post.categories }}</span>
<p>{{ post.excerpt | strip_html | truncate: 250 }}</p>
</article>
{% endfor %}
<div class="module pagination color-3">
{% if paginator.previous_page %}
<a href="{{ site.url }}{{ paginator.previous_page_path }}" class="previous">Previous</a>
{% endif %}
<span class="page_number">— {{ paginator.page }} of {{ paginator.total_pages }} —</span>
{% if paginator.next_page %}
<a href="{{ site.url }}{{ paginator.next_page_path }}" class="next">Next</a>
{% endif %}
</div>
</section>