www.moparscape.org/source/index.haml
2009-11-05 22:36:37 -06:00

16 lines
460 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
- if post.data["comments_off"]
%em.comments_off Comments disabled
- else
%a(href="#{post.url}/#disqus_thread")Comments
.footer
%a(href="/archives.html" title="archives") « Blog Archives