forked from jessesquires/jessesquires.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (39 loc) · 1.46 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
---
layout: default
title: Home
---
<div class="post-list">
{% for post in paginator.posts %}
<article class="post">
<h1 class="post-title"><a href="{{ post.url }}">{{ post.title }}</a></h1>
<h2 class="post-subtitle">{{ post.subtitle }} <small class="post-date">{{ post.date | date_to_string }}</small></h2>
{% if post.date-updated %}
<small class="text-danger"><strong>Updated: {{ post.date-updated }}</strong></small>
{% endif %}
<div class="post-excerpt">
{{ post.excerpt }}
<a href="{{ post.url }}" class="post-continue">Continue… <i class="fa fa-chevron-right"></i></a>
</div>
</article>
{% endfor %}
</div> <!-- post-list -->
<div class="pagination">
<div class="row center">
<nav>
<ul class="pager">
<li>
<a href="/page{{paginator.next_page}}" class="btn btn-default {% if paginator.next_page == nil %}disabled{% endif %}">
<i class="fa fa-chevron-left"></i> Older
</a>
</li>
<li><a href="/search" class="btn btn-default" title="Search this site"><i class="fa fa-search"></i></a></li>
<li><a href="/archive" class="btn btn-default" title="Post Archive"><i class="fa fa-list"></i></a></li>
<li>
<a href="/{% if paginator.page != 2 %}page{{paginator.previous_page}}{% endif %}" class="btn btn-default {% if paginator.previous_page == nil %}disabled{% endif %}">
Newer <i class="fa fa-chevron-right"></i>
</a>
</li>
</ul>
</nav>
</div> <!-- row -->
</div> <!-- pagination -->