-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
44 lines (38 loc) · 1.06 KB
/
index.html
File metadata and controls
44 lines (38 loc) · 1.06 KB
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: page
title: "Home"
---
{% include JB/setup %}
{% for post in paginator.posts %}
<div class="page">
<h2 class="title">
<a href="{{ post.url }}">{{ post.title }}</a>
<span>{{ post.date | date: "%b %e" }}</span>
</h2>
<ul class="post-tags">
{% for tag in post.tags %}
<li><a class="tag" href="/tags.html/#{{ tag }}-ref">{{ tag }}</a></li>
{% endfor %}
</ul>
{{ post.content | split:'<!--break-->' | first }}
{% if post.content contains '<!--break-->' %}
<div class="readmore"><a href="{{ post.url }}">More...</a></div>
{% endif %}
</div>
{% endfor %}
<div class="pagination">
<span class="next">
{% if paginator.next_page %}
<a href="/page{{ paginator.next_page }}">← Previous</a>
{% endif %}
</span>
<span class="previous">
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<a href="/">Next →</a>
{% else %}
<a href="/page{{ paginator.previous_page }}">Next →</a>
{% endif %}
{% endif %}
</span>
</div>