-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
65 lines (64 loc) · 2.6 KB
/
index.html
File metadata and controls
65 lines (64 loc) · 2.6 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
57
58
59
60
61
62
63
64
65
---
layout: page
description: "Comunidad para desarrolladores, diseñadores, profesionales, estudiantes y toda persona interesada en la plataforma Android"
header-img: "/img/bg-home.jpg"
---
{% for post in paginator.posts %}
<div class="post-preview">
<a href="{{ post.url | prepend: site.baseurl }}">
<h2 class="post-title">
{{ post.title }}
</h2>
{% if post.description %}
<h3 class="post-subtitle">
{{ post.description }}
</h3>
{% endif %}
<div align="right" style="width: 100%;">
<div style="width: auto; height: auto; float: right; margin-top: 2px">
<img class="image-member-index" src="{{ post.author_pic }}"/>
</div>
<div style="float: right; text-align: center; vertical-align: middle; margin-right: 5px">
<h5 class="text-post-index">
{% assign m = post.date | date: "%-m" %}
{{ post.date | date: "%-d" }}
{% case m %}
{% when '1' %}Enero
{% when '2' %}Febrero
{% when '3' %}Marzo
{% when '4' %}Abril
{% when '5' %}Mayo
{% when '6' %}Junio
{% when '7' %}Julio
{% when '8' %}Agosto
{% when '9' %}Septiembre
{% when '10' %}Octubre
{% when '11' %}Noviembre
{% when '12' %}Diciembre
{% endcase %}
{{ post.date | date: "%Y" }}
<font size="2em"><b>· </b></font><b>{% if post.author %}{{ post.author }}{% else %}{{ site.title }}{% endif %} </b>
</h5>
</div>
<div style="display: block; margin-left: auto; margin-right: auto"></div>
<div style="clear: both"></div>
</div>
</a>
</div>
<hr style="border-width: 1px; border-color: #86cc89">
{% endfor %}
<!-- Pager -->
{% if paginator.total_pages > 1 %}
<ul class="pager">
{% if paginator.previous_page %}
<li class="previous">
<a href="{{ paginator.previous_page_path | replace: '//', '/' }}">← Recientes</a>
</li>
{% endif %}
{% if paginator.next_page %}
<li class="next">
<a href="{{ paginator.next_page_path | replace: '//', '/' }}">Anteriores →</a>
</li>
{% endif %}
</ul>
{% endif %}