-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (29 loc) · 835 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
title: Anderson Dias
---
{% for post in paginator.posts %}
<div class='post'>
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
{{ post.content }}
<span class='time'>{{ post.date | date: "%Y-%m-%d" }}</span>
{% if post.categories.size > 0 %}
<ul class='categories'>
{% for category in post.categories %}
<li>{{ category }}</li>
{% endfor %}
</ul>
{% endif %}
<img src='/images/separator.gif' class='separator'/>
</div>
{% endfor %}
{% if paginator.next_page %}
<a href="/page{{ paginator.next_page }}/">← Older</a>
{% endif %}
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<a href="/">Newer →</a>
{% else %}
<a href="/page{{ paginator.previous_page }}">Newer →</a>
{% endif %}
{% endif %}