-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathindex.html
More file actions
36 lines (34 loc) · 1.2 KB
/
index.html
File metadata and controls
36 lines (34 loc) · 1.2 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
---
layout: default
---
{% for post in paginator.posts %}
<div class="posts">
<h2><a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h2>
<span style="float:right">{{ post.date | date_to_string }}</span>
<div class="entry">
{{ post.content }}
<p class="postmetadata"><a href="{{ post.url }}#disqus_thread"></a><br /><br /></p>
</div><br />
</div>
{% endfor %}
<!--{% if paginator.total_pages > 1 %}
<div class="navigation">
{% for page in (1..paginator.total_pages) %}
{% if page == paginator.page %}
<span class="num">{{ page }}</span>
{% else %}
<a class="num" href="/{%if page > 1 %}page{{ page }}/{% endif %}">{{ page }}</a>
{% endif %}
{% endfor %}
</div>
{% endif %}-->
{% if paginator.previous_page %}
{% if paginator.page == 2 %}
<a href="/" rel="bookmark"> << Previous Page</a>
{% else %}
<a href="/page{{ paginator.previous_page }}" rel="bookmark"> << Previous Page</a>
{% endif %}
{% endif %}
{% if paginator.next_page %}
<a href="/page{{ paginator.next_page }}" rel="bookmark" style="float:right">Next Page >></a>
{% endif %}