added disqus comment support

This commit is contained in:
B Mathis 2009-11-05 22:36:37 -06:00
parent 6c9f1567ce
commit 416667ccaa
3 changed files with 27 additions and 2 deletions

View file

@ -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") « Blog Archives