lib/awestruct/extensions/intense_debate.rb in awestruct-0.5.3 vs lib/awestruct/extensions/intense_debate.rb in awestruct-0.5.4.beta1

- old
+ new

@@ -24,10 +24,10 @@ def intense_debate_comments_link() post_id = self.post_id ? self.post_id : Digest::SHA1.hexdigest( self.url ) html = %Q(<script>\n) html += %Q( var idcomments_acct='#{site.intense_debate_acct}';\n) html += %Q( var idcomments_post_id='#{post_id}';\n ) - html += %Q( var idcomments_post_url='#{self.url}';\n) + html += %Q( var idcomments_post_url='#{site.intense_debate_base_url || site.base_url}#{self.url}';\n) html += %Q(</script>\n) html += %Q(<script type='text/javascript' src='http://www.intensedebate.com/js/genericLinkWrapperV2.js'></script>\n) html end