From 82d0251da120186c27791b7c073aa103d73c2b31 Mon Sep 17 00:00:00 2001 From: B Mathis Date: Sun, 18 Oct 2009 19:07:36 -0500 Subject: improved starting point --- source/index.haml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 source/index.haml (limited to 'source/index.haml') diff --git a/source/index.haml b/source/index.haml new file mode 100644 index 00000000..af77e063 --- /dev/null +++ b/source/index.haml @@ -0,0 +1,8 @@ +--- +layout: basic/default +title: Blog +--- +.blog + - site.posts.sort_by(&:date).reverse[0..9].each_with_index do |post,index| + %h2= link_to(post.title, post.url, {:class=>"title"}) + .article= post.content \ No newline at end of file -- cgit v1.2.1