-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
68 lines (63 loc) · 1.68 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
---
layout: default
title: Shengbin's Blog
description: Sharing about Application Development, Integration, Cloud, Databases(Most for PostgreSQL)
comments: true
---
<!-- Pagination links -->
<div >
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path }}" >
Previous
</a>
{% else %}
<span>Previous</span>
{% endif %}
| <span class="page_number ">
Page: {{ paginator.page }} of {{ paginator.total_pages }}
</span> |
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}" >Next</a>
{% else %}
<span >Next</span>
{% endif %}
</div>
<div class="list-group">
{% for post in paginator.posts %}
<div class="list-group-item">
<a href="{{ post.url }}">
<h4 class="list-group-item-heading">{{ post.title }}</h4>
<h6 class="list-group-item-heading">{{ post.published | date: '%B %d,
%Y' }} | (Last Update : {{ post.date | date: '%B %d, %Y' }})</h6></a>
{% for tag in post.tags %}
<a class="label label-default" href="/tags/#{{ tag | slugify }}">{{ tag }}</a>
{% endfor %}
{% if post.noimage %}
{% else %}
<img
alt="{{ post.title }}"
src="/assets/images/{{post.id}}/top.jpg" class="img-responsive">
{% endif %}
<p>{{ post.excerpt | strip_html}}</p>
<a href="{{ post.url }}">Read more...</a>
</div>
{% endfor %}
</div>
<!-- Pagination links -->
<div >
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path }}" >
Previous
</a>
{% else %}
<span>Previous</span>
{% endif %}
| <span class="page_number ">
Page: {{ paginator.page }} of {{ paginator.total_pages }}
</span> |
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}" >Next</a>
{% else %}
<span >Next</span>
{% endif %}
</div>