2009-10-18 20:07:36 -04:00
|
|
|
---
|
2009-10-18 21:10:45 -04:00
|
|
|
layout: default
|
2009-10-18 20:07:36 -04:00
|
|
|
title: Blog
|
|
|
|
---
|
|
|
|
.blog
|
|
|
|
- site.posts.sort_by(&:date).reverse[0..9].each_with_index do |post,index|
|
2009-10-21 12:39:53 -04:00
|
|
|
.article
|
|
|
|
%h2= link_to(post.title, post.url, {:class=>"title"})
|
|
|
|
= post.content
|
2009-11-08 00:25:12 -05:00
|
|
|
- if page.respond_to? :disqus_short_name
|
|
|
|
.footer
|
2009-11-07 13:05:10 -05:00
|
|
|
- if post.data["comments_off"]
|
|
|
|
%em.comments_off Comments disabled
|
|
|
|
- else
|
|
|
|
%a(href="#{post.url}/#disqus_thread")Comments
|
2009-10-21 12:39:53 -04:00
|
|
|
.footer
|
|
|
|
%a(href="/archives.html" title="archives") « Blog Archives
|