prepare for having two sites: personal and research
[web.git] / ralf / blog / index.html
diff --git a/ralf/blog/index.html b/ralf/blog/index.html
new file mode 100644 (file)
index 0000000..70032ce
--- /dev/null
@@ -0,0 +1,17 @@
+---
+title: "Ralf's Ramblings"
+slug: Blog
+rss: true
+---
+
+{% 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 %}