blog/source/index.haml

11 lines
291 B
Plaintext
Raw Normal View History

2009-10-19 00:07:36 +00:00
---
layout: default
2009-10-19 00:07:36 +00:00
title: Blog
---
.blog
- site.posts.sort_by(&:date).reverse[0..9].each_with_index do |post,index|
.article
%h2= link_to(post.title, post.url, {:class=>"title"})
= post.content
.footer
%a(href="/archives.html" title="archives") « Blog Archives