forked from devnaestrada/devnaestrada.com.br
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·62 lines (56 loc) · 1.91 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
layout: default
---
{% include modules/quick-access.html %}
<section class="episodes">
{% for post in paginator.posts %}
<article class="episode">
<p class="episode-date">
{% 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' %}Outrubro
{% when '11' %}Novembro
{% when '12' %}Dezembro
{% endcase %}
de {{ post.date | date: "%Y" }} => <span class="episode-type">{{ post.type }}</span>
</p>
<div class="episode-holder">
{% if post.soundcloud-post-image %}
<img class="episode-artwork" src="https://assets.libsyn.com/secure/show/104268/artworks-{{ post.soundcloud-post-image }}-original.jpg" alt="{{ post.home-title }}" />
{% endif %}
{% if post.libsyn-image %}
<img class="episode-artwork" src="https://assets.libsyn.com/secure/show/104268/{{ post.libsyn-image }}" alt="{{ post.home-title }}" />
{% endif %}
<a href="{{ post.url }}" class="episode-link">
<h1 class="episode-title">{{ post.title }}</h1>
</a>
<p class="episode-description">
{{ post.description }}
</p>
</div>
</article>
{% endfor %}
</section>
<!-- Pagination links -->
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path }}" class="btn">
<i class="fa fa-arrow-circle-left"></i> Voltar
</a>
{% endif %}
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}" class="btn">
Avançar <i class="fa fa-arrow-circle-right"></i>
</a>
{% endif %}
</div>