aboutsummaryrefslogtreecommitdiff
path: root/source/index.haml
diff options
context:
space:
mode:
authorB Mathis <brandon@imathis.com>2009-11-05 22:36:37 -0600
committerB Mathis <brandon@imathis.com>2009-11-05 22:36:37 -0600
commit416667ccaaa5244af76ecea91a20edff9ec77586 (patch)
tree653ae60920f1439d8a02d9ffe67e5a2a86f2acc9 /source/index.haml
parent6c9f1567ce4a4ac29d33f20533618b462285a4f2 (diff)
downloadmy_new_personal_website-416667ccaaa5244af76ecea91a20edff9ec77586.tar.xz
my_new_personal_website-416667ccaaa5244af76ecea91a20edff9ec77586.zip
added disqus comment support
Diffstat (limited to 'source/index.haml')
-rw-r--r--source/index.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/index.haml b/source/index.haml
index a244f7e0..78662684 100644
--- a/source/index.haml
+++ b/source/index.haml
@@ -7,5 +7,10 @@ title: Blog
.article
%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
.footer
%a(href="/archives.html" title="archives") &laquo; Blog Archives \ No newline at end of file