aboutsummaryrefslogtreecommitdiff
path: root/source/index.haml
blob: 796b81b6aeaa278ba4b11c86f4e02bcfadb39d65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
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"})
      = preserve rp(post.content)
      - if page.respond_to? :disqus_short_name
        .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