forked from PrestaShop/prestashop.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
81 lines (64 loc) · 2.19 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
69
70
71
72
73
74
75
76
77
78
79
80
81
---
layout: default
comment_counter: true
show_search: true
---
<div class="home">
<div class="row">
<div class="col-md-12">
<ul class="post-list">
{% for post in paginator.posts %}
{% unless forloop.first %}
<li>
<div class="post-divider"></div>
</li>
{% endunless %}
<li>
<div class="list-post-meta">
<span class="post-date">
{{ post.date | date: "%b %-d, %Y" }}
</span>
<span class="separator"></span>
<span class="disqus-comment-count" data-disqus-url="{% if post.disqus_url %}{{ post.disqus_url }}{% else %}{{ post.url | prepend: site.url }}{% endif %}"></span>
</div>
<h2>
{% if post.icon %}
<i class="fa {{ post.icon }}"></i>
{% else %}
<i class="icon-anchor"></i>
{% endif %}
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h2>
{% if post.subtitle %}
<h4>{{ post.subtitle }}</h4>
{% endif %}
<p>{{ post.excerpt | remove: '<p>' | remove: '</p>' }}</p>
<a class="read-more" href="{{ post.url | prepend: site.baseurl }}">Continue reading →</a>
</li>
{% endfor %}
</ul>
</div>
</div>
<!-- Pagination links -->
<div class="row">
<div class="col-md-12">
<nav>
<ul class="pager">
<li class="previous {% unless paginator.previous_page_path %}disabled{% endunless%}">
<a href="{{ paginator.previous_page_path || "#" }}">
<span aria-hidden="true">←</span> Newer
</a>
</li>
<li>
<span class="page_number">Page {{ paginator.page }} of {{ paginator.total_pages }}</span>
</li>
<li class="next {% unless paginator.next_page_path %}disabled{% endunless%}">
<a href="{{ paginator.next_page_path || "#" }}">
Older <span aria-hidden="true">→</span>
</a>
</li>
</ul>
</nav>
</div>
</div>
</div>