diff options
Diffstat (limited to 'source/index.haml')
-rw-r--r-- | source/index.haml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source/index.haml b/source/index.haml index 78662684..ad7cc11a 100644 --- a/source/index.haml +++ b/source/index.haml @@ -8,9 +8,10 @@ title: Blog %h2= link_to(post.title, post.url, {:class=>"title"}) = post.content .footer - - if post.data["comments_off"] - %em.comments_off Comments disabled - - else - %a(href="#{post.url}/#disqus_thread")Comments + - if page.respond_to? :disqus_short_name + - 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
\ No newline at end of file |