-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
36 lines (33 loc) · 825 Bytes
/
index.html
File metadata and controls
36 lines (33 loc) · 825 Bytes
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
---
layout: default
pagination:
enabled: true
---
<!-- Posts -->
<ul id="posts">
{% for post in paginator.posts %}
<li class="post">
<h2><a href="{{ site.url }}{{ post.url}}">{{ post.title }}</a></h2>
<time datetime="{{ post.date | date_to_xmlschema }}" class="by-line">
{% assign m = post.date | date: "%-m" %}
{{ post.date | date: "%-d" }}
{% case m %}
{% when '1' %}Janeiro
{% when '2' %}Fevereiro
{% when '3' %}Março
{% when '4' %}Abril
{% when '5' %}Maio
{% when '6' %}Junho
{% when '7' %}Julho
{% when '8' %}Agosto
{% when '9' %}Setembro
{% when '10' %}Outubro
{% when '11' %}Novembro
{% when '12' %}Dezembro
{% endcase %}
{{ post.date | date: "%Y" }}
</time>
<p>{{ post.content | strip_html | truncatewords:50 }}</p>
</li>
{% endfor %}
</ul>