forked from sharu725/cards
-
-
Notifications
You must be signed in to change notification settings - Fork 53
/
index.html
46 lines (39 loc) · 1.29 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
---
layout: default
lang: en_US
image: "https://res.cloudinary.com/jesstemporal/image/upload/v1671312046/logo_mh5fv4.png"
---
<div class="home">
<div class="row pack">
{% for post in paginator.posts %}
<div class="col-md-4 card">
<a href="{{ post.url | prepend: site.url }}" class="index-anchor">
<div class="panel panel-default">
{% include images-logic.html %}
{% include post-card.html %}
</div>
</a>
</div>
{% endfor %}
</div>
<div class="row">
<div class="col-md-5"> </div>
<div class="col-md-4">
{% if paginator.total_pages > 1 %}
<ul class="pagination">
{% if paginator.previous_page %}
<li><a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">👈</a></li>
{% else %}
<li><span>👈</span></li>
{% endif %}
{% if paginator.next_page %}
<li><a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">👉</a></li>
{% else %}
<li><span >👉</span></li>
{% endif %}
</ul>
{% endif %}
</div>
<div class="col-md-5"> </div>
</div>
</div>