Staticman Comments Setup
Staticman Comments Setup
To use Staticman comments instead of Disqus:
- Change your _config.yml:
comments: provider: "staticman"
- The staticman configuration is already set up in your _config.yml:
staticman: allowedFields: ['name', 'email', 'url', 'message'] branch: "gh-pages" # or "master" depending on your setup commitMessage: "New comment." filename: comment-{@timestamp} format: "yml" moderation: true path: "_data/comments/{options.slug}" requiredFields: ['name', 'email', 'message']
- You’ll need to set up the Staticman app on your GitHub repository
- Comments will be stored as files in your
_data/comments/
directory
Note: Staticman requires more setup but gives you full control over your comments.