-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (48 loc) · 1.68 KB
/
index.html
File metadata and controls
56 lines (48 loc) · 1.68 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
---
layout: default
title: Perkles - Blog
---
<div class="article">
{% for post in paginator.posts %}
<h4>Nome: {{ post.nome }}</h4>
<h4>Linguágem de programação favorita: {{post.linguagem_programacao}}</h4>
<h4>Hobby: {{post.hobby}}</h4>
<div class="short_description">
<p>
<p>{{ post.content }}</p>
</p>
</div>
<hr>
{% endfor %}
{% if paginator.total_pages > 1 %}
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | relative_url }}">
<i class="fas fa-arrow-circle-left"></i>
</a>
{% else %}
<i class="fas fa-ban"></i>
{% endif %}
{% for page in (1..paginator.total_pages) %}
{% if page == paginator.page %}
<span class="paginator-highlight">{{ page }}</span>
{% elsif page == 1 %}
<a href="{{ paginator.previous_page_path | relative_url }}">
{{ page }}
</a>
{% else %}
<a href="{{ site.paginate_path | relative_url | replace: ':num', page }}">
{{ page }}
</a>
{% endif %}
{% endfor %}
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | relative_url }}">
<i class="fas fa-arrow-circle-right"></i>
</a>
{% else %}
<i class="fas fa-ban"></i>
{% endif %}
</div>
{% endif %}
</div>