X-Git-Url: https://git.ralfj.de/web.git/blobdiff_plain/b2e3f027086fdf54f6d057d7b28ec13025e72a78..6623b3da7d6851ccf42186871c7e325abc5c250a:/ralf/blog/index.html?ds=sidebyside

diff --git a/ralf/blog/index.html b/ralf/blog/index.html
index 99724ea..2799553 100644
--- a/ralf/blog/index.html
+++ b/ralf/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 %}