-
Notifications
You must be signed in to change notification settings - Fork 4
/
c2.html
38 lines (36 loc) · 1.02 KB
/
c2.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
---
head: C2
title: HKers
layout: default
paginate:
collection: hkers
per_page: 25
limit: 100
reversed: true
permalink: /page:num/
permalink: /c2/
---
<div id="masthead">
<h1>{{page.title}}</h1>
<h6 style="text-align:center">{{site.description}} ♢ {{page.head}}</h6>
</div>
<!-- MASONRY SECTION -->
<section class="masonry">
{% for item in paginator.hkers %}
<div class="item">
{% include article-lite.html item=item %}
</div>
{% endfor %}
</section>
<!-- Pagination links -->
{% if paginator.total_pages > 1 %}
<div class="pagination" style="text-align:center; font-weight:bold">
{% if paginator.previous_page %}
<a href="{{ site.url }}{{ site.baseurl }}{{ paginator.previous_page_path }}" class="previous">Previous</a> ♢
{% endif %}
<span class="page_number">Page {{ paginator.page }} of {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
♢ <a href="{{ site.url }}{{ site.baseurl }}{{ paginator.next_page_path }}" class="next">Next</a>
{% endif %}
</div>
{% endif %}