Comments on HUGO site

Engage with your audience by enabling comments on your HUGO site. Follow our simple guide to add comment functionality and enhance your website's interactivity.

Here I’m using Hugo theme called GoKarna but you can pretty much do this with any Hugo theme.

HUGO Setup

make a file with the name “rawhtml.html” in /layours.shortcodes directory of your theme and put the follwing line.

*if your don’t have the shortcodes directory, you can make one.


Utterances Setup

Add utterances to your github repository from

then get your HTML code from

Add comments

Now add the raw html tag followed by your HTML code from and end it with closing html tag.

It will look something like this:

screenshot of the comment section in use

that’s it ✌🏽