forked from hkotsubo/hkotsubo.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (40 loc) · 1.19 KB
/
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
40
41
42
43
---
layout: default
---
<link rel="stylesheet" href="{{ '/assets/css/index.css' | relative_url }}">
<ul class="post-list">
{% for post in paginator.posts %}
<li>
<h3 style="margin-bottom: 0">
<a class="post-link" href="{{ post.url }}" title="{{ post.title }}">
{{ post.title }}
</a>
</h3>
<span class="post-meta">{% include date_iso8601.html date=post.date %} <span>({% include date_ptbr.html date=post.date %})</span></span>
<div style="margin-top: 10px">
{{ post.description }}
<span><a style="font-size: 0.8em" href="{{ post.url }}" title="{{ post.title }}">continuar lendo</a></span>
</div>
</li>
{% endfor %}
</ul>
<!-- Pagination links -->
{% if paginator.total_pages > 1 %}
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path }}" class="previous">
<
</a>
{% else %}
<span class="previous"><</span>
{% endif %}
<span class="page_number ">
Página: {{ paginator.page }} de {{ paginator.total_pages }}
</span>
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}" class="next">></a>
{% else %}
<span class="next ">></span>
{% endif %}
</div>
{% endif %}