Skip to content

Utterances not working on nomemory/andreinc-site #3243

Answered by mmistakes
nomemory asked this question in Q&A
Discussion options

You must be logged in to vote

If you're not seeing <div id="utterances-comments"> in the page source, then that likely has to do with how you're building the site.

As noted in the theme's docs,

Note: Comments are disabled by default in development. To enable when testing/building locally be sure to set JEKYLL_ENV=production to force the environment to production.

The theme expects Jekyll's environment value to be production... by default it's development. If you're building/hosting with GitHub Pages it automatically sets it to production for you.

But if you're using something like Netlify or another service you'll have to add the environment variable yourself. I see you have a netlify.toml file so going to assume yo…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nomemory
Comment options

Answer selected by mmistakes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3240 on November 18, 2021 14:56.