-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
71 lines (64 loc) · 2.1 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
63
64
65
66
67
68
69
70
71
---
layout: gridcss
title: "El blog de programación de Antonio Villamarín"
keywords: "Antonio, Antonio Villamarin, Antonio Villamarin Bajo, Zeura, Zeura Netowrk"
description: "Blog de Antonio Villamarín, un blog más de internet."
---
{% for post in paginator.posts %}
<section id="article_item">
<header>
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
<p class="small">
{{ post.date | date: "%d.%m.%Y" }} Por <span class="author vcard"><a rel="author" class="url fn" href="http://anvius.github.io/sobre-mi.html">Antonio Villamarín</a></span> |
<a href="{{ post.url }}#disqus_thread">Comentarios</a>
</p>
</header>
<article class="clearfix">
{% if post.image != null %}
<img src="/assets/images/{{ post.image }}" class="float-left thumb" />
{% endif %}
{{ post.content | truncatewords : '60' }}
</article>
<footer class="right"><p><span class="tag"><a href="{{ post.url }}" class="">Seguir leyendo...</a></span></p></footer>
</section>
{% endfor %}
<div class="paginate"></div>
<div class="center">
<ul class="pages">
<li>
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<a href="/">Anteriores</a>
{% else %}
<a href="/page{{paginator.previous_page}}">Anteriores</a>
{% endif %}
{% else %}
<span>Anterior</span>
{% endif %}
</li>
<li>
{% if paginator.page == 1 %}
<span class="active">1</span>
{% else %}
<a href="/">1</a>
{% endif %}
</li>
{% for count in (2..paginator.total_pages) %}
<li>
{% if count == paginator.page %}
<span class="active">{{count}}</span>
{% else %}
<a href="/page{{count}}">{{count}}</a>
{% endif %}
</li>
{% endfor %}
<li>
{% if paginator.next_page %}
<a href="/page{{paginator.next_page}}">Siguientes</a>
{% else %}
<span>Siguiente</span>
{% endif %}
</li>
</ul>
</div>
{% include disqus_counter.html %}