diff --git a/app/views/posts/index.haml b/app/views/posts/index.haml index c089698..2c4dbfa 100644 --- a/app/views/posts/index.haml +++ b/app/views/posts/index.haml @@ -16,5 +16,5 @@ %tbody - @site.posts.each do |post| %tr - %td= link_to post.title, site_post_path(@site, post) + %td{class: post.get_front_matter(:dir)}= link_to post.title, site_post_path(@site, post) %td= post.date.strftime('%F')