add a link to the edit history of a post
[web.git] / ralf / blog / index.html
index 380aaaadd3103898fcdcbb721c3188eb67a9c8a5..27995532a5a30e211b5ec32b085814f49055a57b 100644 (file)
@@ -1,20 +1,9 @@
 ---
-vars: blog-index.html
+title: Ralf's Ramblings
+layout: page
 slug: Blog
 rss: true
 sort: 10
 ---
 
-{% assign num_posts = 5 %}
-{% for post in site.posts %}
-    {% assign num_posts = num_posts | minus: 1 %}
-    {% if num_posts >= 0 %}
-        <header class="subtitle">
-            {% include post-header.html item=post %}
-            <h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
-        </header>
-        {{ post.excerpt }}
-
-        <p><a href="{{ post.url }}">Read more...</a></p>
-    {% endif %}
-{% endfor %}
+{% include post-list.html posts=site.posts %}