-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (33 loc) · 1.02 KB
/
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
---
layout: default
---
<p style="margin-top: 10px">
I'm Matt Brace, and these are my ramblings.
</p>
<div class="listing">
{% for post in paginator.posts %}
<article>
<time datetime="{{ post.date | date: "%Y-%m-%d" }}" pubdate="">{{ post.date | date: "%B %e, %Y" }}</time>
<hr>
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
<p>{{ post.excerpt }}</p>
<p><a href="{{ post.url }}" class="continue">Read More</a></p>
</article>
{% endfor %}
<div class="pagination">
{% if paginator.previous_page %}
<span class="prev">
{% if paginator.previous_page == 1 %}
<a href="/">Back to <b>Newer Posts</b></a>
{% else %}
<a href="/page{{paginator.previous_page}}/">Back to <b>Newer Posts</b></a>
{% endif %}
</span>
{% endif %}
{% if paginator.next_page %}
<span class="next" style="float: right;">
<a href="/page{{paginator.next_page}}/">Continue to <b>Older Posts</b></a>
</span>
{% endif %}
</div>
</div>