blog/source/index.haml
2009-10-18 20:10:45 -05:00

8 lines
203 B
Plaintext

---
layout: 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