forked from leomartinez2020/cripto-content
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
46 lines (38 loc) · 1.12 KB
/
index.html
File metadata and controls
46 lines (38 loc) · 1.12 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
---
layout: default
---
<div class="home">
<h1 class="page-heading">Publicaciones</h1>
<ul class="post-list">
{% for post in site.posts %}
<li>
<span class="post-meta">
{% assign month = post.date | date: "%m" %}
{% case month %}
{% when '01' %} Enero
{% when '02' %} Febrero
{% when '03' %} Marzo
{% when '04' %} Abril
{% when '05' %} Mayo
{% when '06' %} Junio
{% when '07' %} Julio
{% when '08' %} Agosto
{% when '09' %} Septiembre
{% when '10' %} Octubre
{% when '11' %} Noviembre
{% when '12' %} Diciembre
{% endcase %}
{{ post.date | date: "%-d, %Y" }}
</span>
<h2>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h2>
{% if post.description %}
<p class="post-description">
{{ post.description }}
</p>
{% endif %}
</li>
{% endfor %}
</ul>
</div>