-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
35 lines (31 loc) · 1020 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
29
30
31
32
33
34
35
---
layout: default
home: true
title: On software, life, & the space between
---
<section class="main-wrapper excerpt-list">
<header class="section-header">
<h1>
{% if paginator.page == 1 %}
{{ page.title }}
{% else %}
<a href="/" title="Back to Page 1">Page {{ paginator.page }}</a>
{% endif %}
</h1>
{% if page.subtitle %}
<h2>{{ page.subtitle }}</h2>
{% endif%}
</header>
{% for post in paginator.posts %}
{% include excerpt.html %}
{% endfor %}
<div class="pagination">
{% if paginator.previous_page %}
<a class="previous" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">« Newer</a>
{% endif %}
<span class="page_number ">{{ paginator.page }} of {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a class="next" href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Older »</a>
{% endif %}
</div>
</section>