-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
39 lines (38 loc) · 933 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
36
37
38
39
---
layout: master
title: hypermégatop, parfois
author: Martin Angers
---
<section id="content">
<ul id="post-list">
{% for post in paginator.posts %}
<li>
<time class="published" datetime='{{ post.date | date:"%Y-%m-%d" }}'>{% include date-month-french.html %}</time>
<h2>
<a href="{{ post.url }}">
{{ post.title }}
</a>
</h2>
<p class="abstract">{{ post.abstract }}</p>
</li>
{% endfor %}
</ul>
<div>
<ul class="pager">
{% if paginator.next_page %}
<li class="previous">
<a href="/page{{ paginator.next_page }}">← + anciens</a>
</li>
{% endif %}
{% if paginator.previous_page %}
<li class="next">
{% if paginator.previous_page == 1 %}
<a href="/">+ récents →</a>
{% elsif paginator.previous_page %}
<a href="/page{{ paginator.previous_page }}">+ récents →</a>
{% endif %}
</li>
{% endif %}
</ul>
</div>
</section>