source/index.haml
82d0251d
 ---
d8d51719
 layout: default
82d0251d
 title: Blog
 ---
 .blog
   - site.posts.sort_by(&:date).reverse[0..9].each_with_index do |post,index|
77bb406a
     .article
       %h2= link_to(post.title, post.url, {:class=>"title"})
       = post.content
6b9c3af4
       - if page.respond_to? :disqus_short_name
         .footer
24c5fedc
           - if post.data["comments_off"]
             %em.comments_off Comments disabled
           - else
             %a(href="#{post.url}/#disqus_thread")Comments
77bb406a
   .footer
     %a(href="/archives.html" title="archives") « Blog Archives