From 673dd91709587714a118d58591967d447f78f610 Mon Sep 17 00:00:00 2001 From: Torsten Curdt Date: Wed, 13 Oct 2010 01:12:42 +0200 Subject: [PATCH] disqus comments implemented --- lib/awestruct/extensions/disqus.rb | 64 +++++++++++++++--------------- 1 file changed, 33 insertions(+), 31 deletions(-) diff --git a/lib/awestruct/extensions/disqus.rb b/lib/awestruct/extensions/disqus.rb index 18b9e96e..64b0992a 100644 --- a/lib/awestruct/extensions/disqus.rb +++ b/lib/awestruct/extensions/disqus.rb @@ -8,42 +8,44 @@ def execute(site) module Disqus def disqus_comments() - 'comments' + html = %Q{ +
+ + + } + html end def disqus_comments_link() - 'comments link' + %Q{ Comments } end -# http://bakery.cakephp.org/articles/view/disqus-comment-system-integration-helper - -#
-# -# -# blog comments powered by Disqus - -# - -# Comments - -# post_id = self.post_id ? self.post_id : Digest::SHA1.hexdigest( self.url ) - + def disqus_comments_link_loader() + %Q{ + + } + end end end end