old-website/source/index.haml

16 lines
460 B
Plaintext
Raw Normal View History

2009-10-19 05:37:36 +05:30
---
layout: default
2009-10-19 05:37:36 +05:30
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
2009-11-06 10:06:37 +05:30
.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