Permalink
Browse files

front page displays blog posts

  • Loading branch information...
1 parent f0ad628 commit a2bef5c9bbaf3a3c1eb94a00aedb3c51d9e4519a @juzna committed May 8, 2012
Showing with 5 additions and 2 deletions.
  1. +5 −2 index.html
View
@@ -3,5 +3,8 @@
title: me.getBrain().dump()
---
-<p>Just experimenting, now with templates</p>
-
+{% for post in site.posts limit:5 %}
+<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
+{{ post.content }}
+<em>Posted on {{ post.date | date_to_long_string }}.</em>
+{% endfor %}

0 comments on commit a2bef5c

Please sign in to comment.