-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathindex.html
27 lines (24 loc) · 860 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
---
layout: default
title: Home
group: navigation
---
{% for post in paginator.posts %}
<article>
<div class="heading"><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></div>
<p class="meta"><a class="permalink" href="{{ site.baseurl }}{{ post.url }}">●</a> {{ post.date | date_to_string }}</p>
<div>
{{ post.content }}
</div>
{% include tags.html %}
</article>
<hr>
{% endfor %}
<ul class="pager">
{% if paginator.previous_page %}
<li class="previous"><a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">← Newer</a></li>
{% endif %}
{% if paginator.next_page %}
<li class="next"><a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Older →</a></li>
{% endif %}
</ul>