POSTS
Blog comments via GitHub and Utterances
This blog uses the excellent open-source Utterances project for its comments system. Basically, this means that each post can have GitHub comments associated with it at the aocks/blog-comments repo.
You can use the form at the bottom of each page to leave comments which the Utterances App will automatically send to the GitHub backend. Alternatively, you can either go directly to the aocks/blog-comments repo to leave your comments without interacting with the bot (e.g., if you do not want to authorize the bot).
In case you would like to use Utterances for comments at your site, below are the steps I followed to get things working:
- Install the Utterances App for my repo.
- Find the footer from my Hugo theme
themes/ananke/layouts/partials/site-footer.html
for the ananke theme
- Copy the footer to
layouts/partials/
, and add the utterances script.- Search for
Enable Utterancs
at utteranc.es. - You need the utterances script in
layouts/partials/
since Hugo generally does not want HTML/JavaScript in the main markdown files for each page.
- Search for