forked from maling-it/maling-it.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
all.html
30 lines (29 loc) · 950 Bytes
/
all.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
---
layout: page
title: ⚡️Terbaru
permalink: /all/
pagination:
enabled: true
---
<div class="row">
{% for p in paginator.posts %}
{% include post-card.html %}
{% endfor %}
</div>
<!-- Aligned to center -->
<nav aria-label="Navigation">
{% if paginator.total_pages > 1 %}
<ul class="pagination pagination-lg text-center">
{% if paginator.previous_page %}
<li class="page-item previous">
<a class="page-link border rounded" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' | replace: 'index.html', '' }}"><i class="bi bi-caret-left"></i> Prev</a>
</li>
{% endif %}
{% if paginator.next_page %}
<li class="page-item next">
<a class="page-link border rounded" href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' | replace: 'index.html', ''}}">Next <i class="bi bi-caret-right"></i></a>
</li>
{% endif %}
</ul>
{% endif %}
</nav>