-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (47 loc) · 1.62 KB
/
Copy pathindex.html
File metadata and controls
56 lines (47 loc) · 1.62 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: Elton Santos
---
<div class="home" id="home">
<h1 class="pageTitle">Artigos Recentes</h1>
<ul class="posts noList">
{% for page in paginator.posts %}
<li>
<span class="date">
Escrito em: {% include formato_data.html %}.
Categoria: <a href="{{ page.categories | category_links }}">{{ page.categories | category_links }}</a>
</span>
<h3>
<a class="post-link" href="{{ page.url | prepend: site.baseurl }}">
{{ page.title }}
</a>
</h3>
<!--
<img height="200" width="350" src="{{site.baseurl}}/images/{{page.image}}" />
-->
<p class="description">
{{ page.content | strip_html | strip_newlines | truncate: 150 }}
<a class="post-link-more" href="{{ page.url | prepend: site.baseurl }}">Mais</a>
</p>
</li>
{% endfor %}
</ul>
<!-- Pagination links -->
{% if paginator.total_pages > 1 %}
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">« Postagens Recentes</a>
{% else %}
<span>« Postagens Recentes</span>
{% endif %}
{% if paginator.total_pages > 0 %}
<span>Página: {{ paginator.page }} de {{ paginator.total_pages }}</span>
{% endif %}
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Postagens Antigas »</a>
{% else %}
<span>Postagens Antigas »</span>
{% endif %}
</div>
{% endif %}
</div>