-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (55 loc) · 1.12 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
---
layout: default
title: Blog de CBBFactura, tu factura fácil.
site:
author: LogicalBricks
host: http://cbbfactura.com/blog
---
{% assign hide_extended = true %}
{% for post in paginator.posts %}
{% include post.html %}
{% endfor %}
<div id="pag_cont">
<ul class="pagination">
{% if paginator.previous_page %}
<li>
{% if paginator.previous_page == 1 %}
<a href="/">«</a>
{% else %}
<a href="/page{{paginator.previous_page}}">«</a>
{% endif %}
</li>
{% else %}
<li class="unavailable">
<a href="">«</a>
</li>
{% endif %}
<li>
{% if paginator.page == 1 %}
<a href="">1</a>
{% else %}
<a href="/">1</a>
{% endif %}
</li>
{% for count in (2..paginator.total_pages) %}
{% if count == paginator.page %}
<li class="current">
<a href="">{{count}}</a>
</li>
{% else %}
<li>
<a href="/page{{count}}">{{count}}</a>
</li>
{% endif %}
{% endfor %}
{% if paginator.next_page %}
<li>
<a href="/page{{paginator.next_page}}">»</a>
</li>
{% else %}
<li class="unavailable">
<a href="">»</a>
</li>
{% endif %}
</ul>
</div>