forked from barryclark/jekyll-now
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
40 lines (29 loc) · 852 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
36
37
38
39
40
---
layout: default
---
<div class="posts">
<div class="row">
<div class="col-sm-8">
{% for post in paginator.posts %}
<article class="post">
<h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
{% include author_block.html thingy=post %}
<div class="entry">
{{ post.content }}
</div>
{% include tag_block.html thingy=post %}
</article>
{% endfor %}
<!-- Pagination links -->
<div class="pagination">
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}" class="older">← Older Posts</a>
{% endif %}
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path }}" class="newer">Newer Posts →</a>
{% endif %}
</div>
</div>
{% include sidebar.html %}
</div>
</div>