Sha256: b4ffd033ac22c04092f8d1a5d0dd60bc6a68a6eb12e101972aa39492548afe4d

Contents?: true

Size: 880 Bytes

Versions: 6

Compression:

Stored size: 880 Bytes

Contents

---
layout: master
title: Blog
full_posts: 5
---

<a href='http://feeds.feedburner.com/~u/14174549791849888941' 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>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mkblog-0.0.6 templates/blog.html
mkblog-0.0.5 templates/blog.html
mkblog-0.0.4 templates/blog.html
mkblog-0.0.3 templates/blog.html
mkblog-0.0.2 templates/blog.html
mkblog-0.0.1 templates/blog.html