Adding Comments to Ghost
Ghost does not include built-in commenting features. This guide explains how you can add comment functionality to your Ghost blog using Disqus.
Adding Disqus Commenting to Your Ghost Site
Follow the steps below to integrate Disqus with your Ghost installation:
-
If you do not already have a Disqus account, go to https://disqus.com and create one.
-
After registering and logging in, visit http://disqus.com/admin/create.
-
On the Add Disqus to your site page:
-
Enter a name for your site in the Site name field.
-
Select a category from the Category list.
-
Click Finish registration.
-
-
Under Choose your platform, select Universal Code.
-
Copy the entire code block displayed in the first box.
-
Connect to your server using SSH.
-
Go to the theme directory:
installation_directory/content/themes/theme_name-
installation_directory = where Ghost is installed
-
theme_name = your active theme
-
-
Open the post.hbs file with any text editor.
-
Scroll to the end of the file and locate:
{{/post}} -
Paste the code you copied from Disqus right before the
{{/post}}line. -
Save the file.
-
Restart Ghost. Comments through Disqus will now appear on your posts.