Possible to add comment count (to a Ghost blog)?


(Allan Stromfeldt Christensen) #1

I just integrated Discourse into a Ghost blog I recently started up and am using the Eston theme. By default Eston is set up to use Disqus, which comes with the possibility to add a widget of the comment count at the bottom of the post preview (or wherever, really) as such:
comment count
As I’m using Discourse instead of Disqus, would it be possible to similarly access a topic’s comment count so that I could integrate it into my Ghost blog using Eston?


(Joshua Rosenfeld) #2

See Embedding Discourse Comments via Javascript, @codinghorror’s blog is on Ghost and embeds comments.


(Allan Stromfeldt Christensen) #3

I’d already gotten Discourse embedded into Ghost a while ago (that was surprisingly easy!) and knowledge of @codinghorror’s integration was definitely a push in the right direction when I was deciding what to use with Ghost. My issue therefore isn’t about installation but rather about grabbing comment count numbers for the front page of the blog (where only excerpts of blog posts are shown, and Discourse isn’t even loaded). But if I gather correctly that the place to ask about this is over on that Embedding Discourse thread then I’ll do so. Thanks!