Comments enabled via utterances

How I got utterances working on blogdown.

blogdown
commenting
utterances
Author

Robert M Flight

Published

October 16, 2019

TL;DR

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!

How

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

Reuse

Citation

BibTeX citation:
@online{mflight2019,
  author = {Robert M Flight},
  title = {Comments Enabled via Utterances},
  date = {2019-10-16},
  url = {https://rmflight.github.io/posts/2019-10-16-comments-enabled-via-utterances},
  langid = {en}
}
For attribution, please cite this work as:
Robert M Flight. 2019. “Comments Enabled via Utterances.” October 16, 2019. https://rmflight.github.io/posts/2019-10-16-comments-enabled-via-utterances.