-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
24 lines (23 loc) · 917 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
---
layout: default
---
<link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/paginator-posts.css">
<!-- This loops through the paginated posts -->
<div class="paginator">
<h1 align="center">Jekyll Paginator Links<small>(<a href="https://github.com/Shadowen/jekyll-paginator-links/blob/gh-pages/README.md">Documentation</a>)</small></h1>
<div class="posts">
{% for post in paginator.posts %}
<div class="post">
<h1 class="title"><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
<p>Author: <span class="author">{{ post.author }}</span></p>
<p>Date: <span class="date">{{ post.date }}</span></p>
<div class="excerpt">
{{ post.excerpt }}
</div>
</div>
{% endfor %}
</div>
<!-- Generate the links to other pages -->
<link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/paginator-links.css">
{% include paginator-links.html maxPages=5 %}
</div>