forked from oeegee/likejazz.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
28 lines (25 loc) · 783 Bytes
/
index.html
File metadata and controls
28 lines (25 loc) · 783 Bytes
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
---
layout: default
title: Home
---
<div id="home">
<ol class="posts">
{% for post in paginator.posts %}
<li><a href="{{ post.url }}">{{ post.title }}</a> <time>{{ post.date | date_to_string }}</time></li>
{% endfor %}
</ol>
<!-- Pagination links -->
{% if paginator.total_pages > 1 %}
<div class="pagination">
{% for page in (1..paginator.total_pages) %}
{% if page == paginator.page %}
<a class="active">{{ page }}</a>
{% elsif page == 1 %}
<a href="/">{{ page }}</a>
{% else %}
<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
{% endif %}
{% endfor %}
</div>
{% endif %}
</div><!-- end #home -->