X-Git-Url: https://git.ralfj.de/web.git/blobdiff_plain/24fe480eba0379246fb3299dab1cfb46fcd923b5..4dceeff05559505dc899ea66f25a93917ba40d7e:/personal/blog/index.html?ds=sidebyside

diff --git a/personal/blog/index.html b/personal/blog/index.html
index a59db4c..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">
-            {% include post-header.html item=post %}
-            <h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
-        </header>
-        {{ post.content }}
-    {% endif %}
-{% endfor %}
+{% include post-list.html posts=site.posts %}