forked from plusjade/jekyll-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
37 lines (34 loc) · 1.08 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
---
layout: page
title: Первый на казахском
---
{% for post in paginator.posts %}
<!-- here add you post markup -->
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
<p class="author">
<span class="date">{{post.date | date: "%Y-%m-%d"}}</span>
</p>
<div class="content">
{{ post.content }}
</div>
<br><br>
{% endfor %}
<!-- Pagination links -->
<div class="pagination pagination-centered">
<ul>
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<li class="prev"><a href="/" title="Предыдущая страница">Пред.</a></li>
{% else %}
<li class="prev"><a href="/page{{paginator.previous_page}}" title="Предыдущая страница">Пред.</a></li>
{% endif %}
{% else %}
<li class="prev disabled"><a>Пред.</a></li>
{% endif %}
{% if paginator.next_page %}
<li class="next"><a href="/page{{paginator.next_page}}" title="Следующая страница">След.</a></li>
{% else %}
<li class="next disabled"><a>След.</a>
{% endif %}
</ul>
</div>