This is a simple static site example using Staticman for comments.
This is an example repository for blog post Staticman: User generated content made static on my blog.
- Static comments rendered from YAML files in
_data/comments. - Comment form that submits to the Staticman API.
npm installTo run the development server with live reload:
npm startTo build the site for production:
npm run buildThe output will be in the _site directory.
Staticman is configured via the staticman.yml file in the root directory. It is set up to receive comments from the form and save them as YAML files in _data/comments.