Posts and site content

Show comments on posts

Ghost runs the comments on your site, and members sign in to write them. Your theme decides where they show, with the Post Comments section. The default Post template already has it, between the post text and the related posts.

Turn comments on in Ghost Admin

  1. In Ghost Admin, go to Settings › Membership › Access.
  2. Choose who can comment, all members or paid members only.
  3. Save the change.

While commenting is off in Ghost, the Post Comments section shows nothing on your site.

Check the section in Fantasma

  1. Open your project in Fantasma.
  2. In the left sidebar, under Templates, click Post.
  3. Look for Post Comments in the Sections list in the left sidebar.

On the canvas, the section shows a box that reads "Comments Section" and "Ghost native comments will appear here in production". Your Ghost site shows the real comments there, without a heading or a comment count.

Add the section to a post template

The section works only on post templates, such as Post, a template for posts with a tag, or a template writers choose in Ghost. To add it to one that lacks it:

  1. In the left sidebar, under Templates, click the template.
  2. On the canvas, point at the line between the Post Content section and the next one, and click +. An empty section appears.
  3. Click All patterns, the last card in the empty section. The Add Pattern to Template dialog opens.
  4. In its list of categories, click Content.
  5. Click Post Comments. It replaces the empty section.

The section has no settings of its own. Select it to change its colors, width and spacing in the right sidebar, as for any section. Your site shows the change after you publish the theme.

Was this article helpful?