-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (33 loc) · 969 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
---
layout: default
---
<div class="home">
<ul class="post-list">
{% for post in paginator.posts %}
<li>
<a href="{{ post.url }}">
<h1 class="post-title">{{ post.title }}</h1>
{% if post.subtitle %}
<h2 class="post-subtitle">{{post.subtitle}}</h2>
{% endif %}
<p class="author">
<span class="date">{{ post.date | date: "%b %-d, %Y" }}</span>
</p>
</a>
<div class="post-content" itemprop="articleBody">
{{ post.content }}
</div>
<hr class="post-split" />
</li>
{% endfor %}
</ul>
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path }}" class="previous">⟨</a>
{% endif %}
<span class="page-number"> {{ paginator.page }} of {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}" class="next">⟩</a>
{% endif %}
</div>
</div>