-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
44 lines (39 loc) · 1.38 KB
/
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
41
42
43
44
---
layout: default
---
<div class="home">
<ul class="post-list">
{% for post in paginator.posts %}
<li>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title | escape }}</a>
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
</li>
{% endfor %}
</ul>
<div class="more-work paginate">
<div class="left equal">
{% if paginator.previous_page %}
<!-- special case the second page to link back to index.html -->
{% if paginator.page == 2 %}
<a class="equalize" href="/"><div><h6>« Prev</h6></div></a>
{% else %}
<a class="equalize" href="{{ paginator.next_page_path }}/page{{ paginator.previous_page }}"><div><h6>« Prev</h6></div></a>
{% endif %}
{% else %}
<!-- if no 'previous' pages exit, render a span rather than an anchor -->
<div><h6>« Prev</h6></div>
{% endif %}
</div>
<div class="center equal">
<div><h6>subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></h6></div>
</div>
<div class="right equal">
{% if paginator.next_page %}
<a class='equalize' href="{{ paginator.previous_page_path }}/page{{ paginator.next_page }} "><div><h6>Next »</h6></div></a>
{% else %}
<!-- if no 'next' pages exit, render a span rather than an anchor -->
<div><h6>Next »</h6></div>
{% endif %}
</div>
</div>
</div>