forked from muan/jekyll-wardrobe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
26 lines (25 loc) · 843 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
---
layout: default
---
<ul class="posts">
{% for post in paginator.posts %}
<li>
<a href="{{ post.url }}">
<h2>{{ post.title }}</h2>
<time>{{ post.date | date_to_string }}</time>
</a>
</li>
{% endfor %}
</ul>
{% unless paginator.total_pages == 1 %}
<section class="pagination">
<a href="/{{ paginator.previous_page_path }}" class="previous-page{% unless paginator.previous_page %} invisible{% endunless %}">Previous</a>
{{ paginator.page }} of {{ paginator.total_pages }}
<a href="/{{ paginator.next_page_path }}" class="next-page{% unless paginator.next_page %} invisible{% endunless %}">Next</a>
</section>
{% endunless %}
<aside>
<img src="{{ site.owner.avatar }}" alt="{{ site.owner.name }}" class="avatar" />
<strong>{{ site.owner.name }}</strong>
<p>{{ site.owner.bio }}</p>
</aside>