-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblog.html
More file actions
21 lines (21 loc) · 724 Bytes
/
blog.html
File metadata and controls
21 lines (21 loc) · 724 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
layout: default
title: Dan Shearmur - Blog
---
<section id="blog">
{% for post in paginator.posts %}
<article class="clearfix">
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
<div class="padding">
{{ post.content }}
</div>
<div class="info">
<p class="pub-date">{{ post.date | date_to_string }}</p>
</div>
</article>
{% endfor %}
<div id="pages">
{% if paginator.previous_page %}<a href="{% if paginator.previous_page == 1 %}/blog{% else %}/page{{ paginator.previous_page }}/blog.html{% endif %}">Previous</a>{% endif %}
{% if paginator.next_page %}<a href="/page{{ paginator.next_page }}/blog.html">Next</a>{% endif %}
</div>
</section>