-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (41 loc) · 1.8 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
33
34
35
36
37
38
39
40
41
42
43
44
45
---
layout: default
---
<!--
Note: Set the body element's class to "left-sidebar" to position the sidebar on the left.
Set it to "right-sidebar" to, you guessed it, position it on the right.
-->
{% for post in paginator.posts %}
<!-- Post -->
<article class="box post post-excerpt">
<header>
<h2><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h2>
</header>
<div class="info">
<span class="date"><span class="month">{{ post.date | date: "%b" }}</span> <span class="day">{{ post.date | date: "%-d" }}</span><span class="year">, {{ post.date | date: "%Y" }}</span></span>
<ul class="stats">
<li><a href="#" class="icon fa-comment">16</a></li>
<li><a href="#" class="icon fa-heart">32</a></li>
<li><a href="#" class="icon fa-twitter">64</a></li>
<li><a href="#" class="icon fa-facebook">128</a></li>
</ul>
</div>
<!-- <a href="#" class="image featured"><img src="images/pic02.jpg" alt="" /></a> -->
<p>
{{ post.excerpt }}
</p>
</article>
{% endfor %}
<!-- Pagination -->
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ site.baseurl }}{{ paginator.previous_page_path }}" class="button previous">Previous</a>
{% else %}
<span class="button previous">Previous</span>
{% endif %}
<span class="active">Page: {{ paginator.page }} of {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a href="{{ site.baseurl }}{{ paginator.next_page_path }}" class="button next">Next</a>
{% else %}
<span class="button next">Next</span>
{% endif %}