---
-layout: default
title: "Ralf's Ramblings"
slug: Blog
rss: true
---
-
- <ul class="post-list">
- {% for post in site.posts %}
- <li>
- <span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
-
- <h2>
- <a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
- </h2>
- </li>
- {% endfor %}
- </ul>
-
- <p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p>
+{% assign num_posts = 5 %}
+{% for post in site.posts %}
+ {% assign num_posts = num_posts | minus: 1 %}
+ {% if num_posts >= 0 %}
+ <header class="subtitle">
+ <div class="side"><a href="{{ post.url }}">Permalink</a> • {{ post.date | date: "%b %-d, %Y" }}{% if post.author %} • {{ post.author }}{% endif %}{% if post.meta %} • {{ post.meta }}{% endif %}</div>
+ <h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
+ </header>
+ {{ post.content }}
+ {% endif %}
+{% endfor %}