-
Notifications
You must be signed in to change notification settings - Fork 71
/
index.html
32 lines (32 loc) · 1.22 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
---
layout: default
title: Kunka
keywords: Jekyll theme, Kunka
---
{% for post in paginator.posts %}
<div class="article">
<h3 class="title"><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h3>
<article class="rexp">
<p>{{ post.excerpt }}</p>
</article>
<a href="{{ site.url }}{{ post.url }}" class="more"><i class="icon-link"></i></a>
<div class="info">
<span class="info-title"><i class="icon-calendar"></i> Published: </span>
<span class="info-date">{{ post.date | date_to_string }}</span>
</div>
</div>
{% endfor %}
{% if paginator.total_pages > 1 %}
<nav class="pagination fn-clear">
<span class="pagination-icon"><i class=" icon-copy"></i></span>
<ul class="pagination-list">
{% for page in (1..paginator.total_pages) %}
{% if page == paginator.page %}
<li class="current"><a href="javascript:void(0);">{{ page }}</a></li>
{% else %}
<li><a href="{{ site.url }}/{%if page > 1 %}page{{ page }}/{% endif %}">{{ page }}</a></li>
{% endif %}
{% endfor %}
</ul>
</nav>
{% endif %}