Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (27 sloc) 865 Bytes
---
layout: master
title: Blog
full_posts: 5
---
<a href='http://feeds2.feedburner.com/mbleigh' class='float-right'><img src='/images/subscribe.png' alt='Subscribe to XML Feed'/></a>
{% for post in site.posts %}
{% if forloop.index < page.full_posts %}
<div class='post'>
<span class='date'>{{post.date | date_to_string}}</span>
<h1><a href='{{post.url}}'>{{post.title}}</a></h1>
<div class='body'>{{post.content}}</div>
<a href='{{post.url}}#disqus_thread'>View Comments</a>
</div>
{% else %}
{% if forloop.index == page.full_posts %}
<h3>Older Posts</h3>
<table class='post-list'>
{% endif %}
<tr>
<th><a href='{{ post.url }}'>{{ post.title }}</a></th>
<td>{{ post.date | date_to_string }}</td>
<td><a href='{{post.url}}#disqus_thread'>Comments</a></td>
</tr>
{% endif %}
{% endfor %}
</table>