the-mvm / the-mvm.github.io

The Minimum Viable Model website and Jekyll theme.
https://the-mvm.github.io
GNU General Public License v3.0
86 stars 398 forks source link

Ability to swap Disqus for https://utteranc.es/ #36

Closed SimonDarksideJ closed 1 year ago

SimonDarksideJ commented 2 years ago

Is your feature request related to a problem? Please describe. I've always used Disqus in the past for blogs, however of late disqus comments are getting full of spam and ads

Describe the solution you'd like Would be great to either have an Utterances implementation, or highlight the areas to be able to swap disqus for utterances

Describe alternatives you've considered Considered turning off comments, but not great

Additional context Add any other context or screenshots about the feature request here. https://ljvmiranda921.github.io/notebook/2021/03/26/migrating-from-disqus-to-utterances/

TinyZzh commented 2 years ago

see #33 has been merged.

SimonDarksideJ commented 1 year ago

Fantastic work @TinyZzh , any update on when the docs will be updated on how to configure it properly?

I've pulled the latest and merged it in to my pages blog (seems to look good so far), so next step is to update the utterances config.

OK, setup Utterances as per the blog post I linked and updated my config.yml, however, the "Enter a comment" section appears but when clicked, disappears. Here's my config.yml segment

comments: utteranc  #[disqus, utteranc]
comments_opts:
  comments_curtain: yes # leave empty to show the disqus embed directly
  repo: https://github.com/SimonDarksideJ/comments.SimonDarksideJ.github.io.git # The GitHub repo URL.  https://utteranc.es/
  issue_term: issue # The GitHub issue label
  label: comments # The GitHub comments label
  theme: github-dark # The GitHub comment's there. e.g. github-dark
  # Disqus
  discus_identifier: # Add your discus identifier
SimonDarksideJ commented 1 year ago

OK, found the issue and it does seem to be up and running now.
The repo configuration needs "/" to work, so this is my working configuration now:

# Comments
comments: utteranc  #[disqus, utteranc]
comments_opts:
  comments_curtain: yes # leave empty to show the disqus embed directly
  repo: SimonDarksideJ/comments.SimonDarksideJ.github.io # The GitHub repo URL.  https://utteranc.es/
  issue_term: issue # The GitHub issue label
  label: comments # The GitHub comments label
  theme: github-dark # The GitHub comment's there. e.g. github-dark