aboutsummaryrefslogtreecommitdiff
path: root/source/index.haml
diff options
context:
space:
mode:
authorB Mathis <brandon@imathis.com>2009-10-18 19:07:36 -0500
committerB Mathis <brandon@imathis.com>2009-10-18 19:07:36 -0500
commit82d0251da120186c27791b7c073aa103d73c2b31 (patch)
treeed8c90ca49e21c160ed119ab6a297c614d9c5e73 /source/index.haml
parent2b4c5948b36ed1054dab270444df51fd4c38196f (diff)
downloadmy_new_personal_website-82d0251da120186c27791b7c073aa103d73c2b31.tar.xz
my_new_personal_website-82d0251da120186c27791b7c073aa103d73c2b31.zip
improved starting point
Diffstat (limited to 'source/index.haml')
-rw-r--r--source/index.haml8
1 files changed, 8 insertions, 0 deletions
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