-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
32 lines (26 loc) · 965 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
---
layout: default
---
<div class="home">
<ul class="post-list">
{% for post in paginator.posts %}
<li>
<h1><a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h1>
<div class="post-content"><div class="post-meta">{{ post.date | date: "%Y-%m-%d" }} >> <a href="{{ post.url | prepend: site.baseurl }}#disqus_thread">Feedback && Comments!</a></div>{{ post.content }} </div>
</li>
{% endfor %}
</ul>
</div>
{% if paginator.total_pages > 1 %}
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}"><< Forward time travel</a>
{% endif %}
{% if paginator.next_page %}
{% if paginator.previous_page %}
|
{% endif %}
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Backward time travel >></a>
{% endif %}
</div>
{% endif %}