Repository navigation
Expand file tree
/
Copy pathseries.html
More file actions
executable file
·47 lines (46 loc) · 1.52 KB
/
Copy pathseries.html
File metadata and controls
executable file
·47 lines (46 loc) · 1.52 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
---
layout: minimal
title: "Categorias"
permalink: /series/index.html
image: '/assets/img/series.png'
description: "Encontre todos artigos separados por categorias com temas específicos"
---
{% for tag in site.categories %}
<span class="tag-title" id="{{ tag[0] | slugify }}">{{ tag[0] | capitalize }}</span>
<ul class="post-list">
{% assign pages_list = tag[1] %}
{% for post in pages_list reversed %}
{% if post.title != null %}
{% if group == null or group == post.group %}
<li>
<a href="{{ site.url }}{{ post.url }}">
{{ post.title }}
<span class="entry-date">
<time datetime="{{ post.date | date_to_xmlschema }}" itemprop="datePublished">
{% assign m = post.date | date: "%-m" %}
{{ post.date | date: "%d" }} de
{% 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 %}
de {{ post.date | date: "%Y" }}
</time>
</a>
</li>
{% endif %}
{% endif %}
{% endfor %}
{% assign pages_list = nil %}
{% assign group = nil %}
</ul>
{% endfor %}