blog/source/index.haml

11 lines
291 B
Plaintext

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