-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (43 loc) · 1.4 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
45
46
47
48
49
---
layout: home
---
{% include JB/setup %}
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
{% assign previous_page = '' %}
{% else %}
{% assign previous_page = 'page'+paginator.previous_page %}
{% endif %}
{% else %}
{% assign previous_page = '' %}
{% endif %}
{% for post in paginator.posts %}
<article>
<h2>
<a href="{{ BASE_PATH }}{{ post.url }}">{{ post.title }}</a>
<small>{{ post.date | date_to_string }}</small>
</h2>
<div class='post-content'>
{{ post.content }}
</div>
<div class='inline-post-footer'>
<a class='inline-comments' href="{{ BASE_PATH }}{{ post.url }}#disqus_thread" {% if post.guid %}data-disqus-identifier='{{post.guid}}'{%endif%}>Comments</a>
{% unless post.tags == empty %}
<span>Tags:</span>
<ul class='unstyled no-tag-count'>
{% assign tags_list = post.tags %}
{% include JB/tags_list %}
</ul>
{% endunless %}
</div>
</article>
{% endfor %}
<ul class='pager'>
<li class='previous{% unless paginator.previous_page %} disabled{% endunless %}'>
<a href='{{ previous_page }}'>← Previous Page</a>
</li>
<li><a href='{{site.JB.archive_path}}' class='archives'>Archives</a></li>
<li class='next{% unless paginator.next_page %} disabled{% endunless %}'>
<a href='/page{{paginator.next_page}}'>Next Page →</a>
</li>
</ul>