X-Git-Url: https://git.ralfj.de/web.git/blobdiff_plain/d89404b8e1ead4a86d3e9e1eca94fae983df09f8..7fad530d10920cdd874584d4111bcb046ffad34c:/personal/blog/index.html

diff --git a/personal/blog/index.html b/personal/blog/index.html
index 99724ea..2799553 100644
--- a/personal/blog/index.html
+++ b/personal/blog/index.html
@@ -1,18 +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">
-            <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 %}
+{% include post-list.html posts=site.posts %}