-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·39 lines (37 loc) · 920 Bytes
/
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
---
layout: default
title: Home
---
{% for post in paginator.posts %}
<div class="posts">
<h2 class="post-title">
<a href="{{ site.github.url }}{{ post.url }}">{{ post.title }}</a>
</h2>
{{ post.content }}
<div class="post-date">
<i class="fa fa-calendar" aria-hidden="true"></i>
{{ post.date | date_to_string }}
</div>
</div>
{% endfor %}
<!-- Pagination links -->
<div class="pagination">
{% if paginator.next_page %}
<a
class="pagination-button pagination-active"
href="{{ site.github.url }}{{ paginator.next_page_path }}"
class="next"
>Older</a
>
{% else %}
<span class="pagination-button">Older</span>
{% endif %} {% if paginator.previous_page %}
<a
class="pagination-button pagination-active"
href="{{ site.baseurl }}{{ paginator.previous_page_path }}"
>Newer</a
>
{% else %}
<span class="pagination-button">Newer</span>
{% endif %}
</div>