forked from alainpham/alainpham.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
63 lines (58 loc) · 1.98 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
---
layout: default
title: Mathematĭca
description: Blog de Matemáticas para Educación de Personas Adultas
comments: true
---
<!-- Pagination links -->
<script src="/learningmathematicas/assets/js/tags.js"></script>
<div>
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | relative_url }}">Anterior</a>
{% else %}
<span>Anterior</span>
{% endif %}
| <span class="page_number">
Página: {{ paginator.page }} of {{ paginator.total_pages }}
</span> |
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | relative_url }}">Posterior</a>
{% else %}
<span>Posterior</span>
{% endif %}
</div>
<div class="list-group">
{% for post in paginator.posts %}
<div class="list-group-item">
<a href="{{ post.url | relative_url }}">
<h4 class="list-group-item-heading">{{ post.title }}</h4>
<h6 class="list-group-item-heading">{{ post.published | date: '%d/%m/%Y' }} | (Última actualización: {{ post.date | date: '%d/%m/%Y' }})</h6>
</a>
{% for tag in post.tags %}
<a class="label label-default" href="javascript:void(0);" onclick="redirectToTagPage('{{ tag | slugify }}')">{{ tag }}</a>
{% endfor %}
{% if post.noimage %}
{% else %}
<img alt="{{ post.title }}" src="{{ '/assets/images/' | relative_url }}{{ post.id }}/top.jpg" class="img-responsive">
{% endif %}
<p>{{ post.excerpt | strip_html }}</p>
<a href="{{ post.url | relative_url }}">Leer más...</a>
</div>
{% endfor %}
</div>
<!-- Pagination links -->
<div>
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | relative_url }}">Anterior</a>
{% else %}
<span>Anterior</span>
{% endif %}
| <span class="page_number">
Página: {{ paginator.page }} of {{ paginator.total_pages }}
</span> |
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | relative_url }}">Posterior</a>
{% else %}
<span>Posterior</span>
{% endif %}
</div>