-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
35 lines (30 loc) · 982 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
33
34
35
---
layout: page
title: PHPedia
tagline: Open knowledge
---
{% include JB/setup %}
<ul class="posts">
{% for post in paginator.posts %}
<li><a href="{{ post.url }}">{{ post.title }}</a> » <span>{{ post.date | date_to_string }}</span></li>
{% endfor %}
</ul>
<div class="pagination">
<ul>
{% if paginator.previous_page %}
{% if paginator.previous_page <= 1 %}
<li class="prev"><a href="/" title="Home">← Previous</a></li>
{% else %}
<li class="prev"><a href="/page{{ paginator.previous_page }}" title="{{ paginator.previous_page }}">← Previous</a></li>
{% endif %}
{% else %}
<li class="prev disabled"><a>← Previous</a></li>
{% endif %}
{% if paginator.next_page %}
<li class="next"><a href="/page{{ paginator.next_page }}" title="{{ paginator.next_page }}">Next →</a></li>
{% else %}
<li class="next disabled"><a>Next →</a>
{% endif %}
</ul>
</div>
Page {{paginator.page}} of {{paginator.total_pages}}