Permalink
Find file
e3719ff Jan 1, 2016
28 lines (22 sloc) 804 Bytes
---
layout: default
title: Blog
---
<div id="home">
<ul id="blog-posts" class="posts">
{% for post in paginator.posts %}
<li><div class="post_preheader"><span>{{ post.date | date: "%B %-d, %Y" }}</span></div>
<li><div class="post_header"><a href="{{ post.url }}"><b>{{ post.title }}</b></a></div></li>
<li>{{ post.excerpt }}</li>
{% endfor %}
</ul>
</div>
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path }}" class="previous">Previous</a>
{% endif %}
<span class="page_number">Page: {{ paginator.page }} of {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}" class="next">Next</a>
{% endif %}
</div>