Comments enabled via utterances

blogdown commenting utterances

How I got utterances working on blogdown.

Robert M Flight


Utterances is a lightweight commenting platform built on GitHub issues. So you have to have a GitHub account, but I expect most people who comment on this blog already have one.

Why Utterances

When I switched to blogdown, I lost my disqus comments. I had considered migrating them over, but never got around to it. I also thought that there had to be a way to link GitHub issues to blog posts, but didn’t investigate it much.

Then, I came across Maëlle’s blog post about switching to utterances and I was sold. I had some free time last night, and dived into how to add it to my site that uses the hugo academic theme.

I’m not expecting a lot of heavy commenting, but at least it’s now available!


For blogdown, just replace everything in layouts/partials/comments.html with the code snippet from utterances.


If you see mistakes or want to suggest changes, please create an issue on the source repository.


Text and figures are licensed under Creative Commons Attribution CC BY 4.0. Source code is available at, unless otherwise noted. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".


For attribution, please cite this work as

Flight (2019, Oct. 16). Deciphering Life: One Bit at a Time: Comments enabled via utterances. Retrieved from

BibTeX citation

  author = {Flight, Robert M},
  title = {Deciphering Life: One Bit at a Time: Comments enabled via utterances},
  url = {},
  year = {2019}