Published
How to Enable Page Comments
By olayway
A step-by-step guide to enabling and configuring Giscus-powered comments on your Flowershow Cloud sites, allowing readers to engage with your content through GitHub Discussions.
This tutorial will guide you through the process of enabling comments on your Flowershow Cloud site using Giscus - a comments system powered by GitHub Discussions. You'll learn how to set up GitHub Discussions, configure the Giscus app, and integrate comments into your site.
Step 1: Enable GitHub Discussions
- Go to your site's repository Settings
- Scroll down to the Features section
- Check the "Discussions" checkbox
Step 2: Install Giscus GitHub App
- Visit github.com/apps/giscus
- Click "Configure"
- Select the repository with your site's content
- Click "Save"
Step 3: Get Configuration IDs
- Visit giscus.app
- Enter your repository name in the configuration form
- Select your preferred discussion category
- Locate the following IDs in the configuration section at the bottom of the page:
- Repository ID (starts with 'R_')
- Category ID (starts with 'DIC_')
Note: You can ignore other settings as they are pre-configured in Flowershow Cloud.
Step 4: Configure Your Site
- Go to your site's Settings page in the Flowershow Cloud dashboard
- Find the "Comments" section
- Toggle the switch to enable comments
- Enter the Repository ID and Category ID from Step 3
- Save your changes
Features and Benefits
Comments powered by Giscus offer several advantages:
-
GitHub Integration
- All comments are stored as GitHub Discussions
- Easy moderation through GitHub's interface
- Automatic backup and version control
-
Rich Text Support
- Full Markdown support in comments
- Code syntax highlighting
- Image embedding capabilities
-
Security
- Spam protection through GitHub authentication
- No anonymous comments
Troubleshooting
Common issues and solutions:
-
Comments section not appearing?
- Verify GitHub Discussions is enabled in your repository
- Check if Giscus app has correct repository permissions
- Ensure Repository ID and Category ID are entered correctly
-
Users can't comment?
- Confirm they are logged into GitHub
- Check if Discussions are locked in your repository
- Verify the discussion category still exists