-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
39 lines (36 loc) · 1.56 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
---
layout: default
title: Home
sitemap:
priority: 0.9
changefreq: 'weekly'
---
<div class="posts">
{% for post in paginator.posts %}
<article class="post">
<header>
<h1 class="post-title"><a rel="bookmark" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h1>
</header>
{{ post.excerpt }}
<aside class="post-meta">
<time class="post-meta-left" datetime="{{ post.date | date: '%Y-%m-%d' }}">{{ post.date | date_to_long_string }}</time> | <a class="post-meta-left" href="{{ post.url }}#comments"><i class="fa fa-comments fa-lg"></i> <span class="disqus-comment-count" data-disqus-identifier="{{ post.path | split:'/' | last | cgi_escape }}"> </span></a><a class="post-read-more" href="{{ post.url | prepend: site.baseurl }}#read-more">Leer más <i class="fa fa-angle-double-right"></i></a>
</aside>
</article>
{% endfor %}
</div>
<div class="cf frame">
{% include google-ads.html %}
</div>
<nav class="pagination">
{% if paginator.next_page %}
<a rel="next" class="newer-posts" href="/page{{paginator.next_page}}"><i class="fa fa-chevron-circle-left"></i> Artículos antiguos</a>
{% endif %}
<span class="page-number">Página {{ paginator.page }} de {{ paginator.total_pages }}</span>
{% if paginator.previous_page %}
{% if paginator.page == 2 %}
<a rel="prev" class="older-posts" href="/">Artículos nuevos →</a>
{% else %}
<a rel="prev" class="older-posts" href="/page{{paginator.previous_page}}">Artículos nuevos ><i class="fa fa-chevron-circle-right"></i></a>
{% endif %}
{% endif %}
</nav>