New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble with disqus #104

Closed
mfrachet opened this Issue Jan 31, 2017 · 4 comments

Comments

Projects
None yet
4 participants
@mfrachet
Copy link

mfrachet commented Jan 31, 2017

I m starting to create a simple github page on my github name like https://skahrz.github.io

I m using your minimalist (but really cool) theme.

Actually, I m having some troubles dealing with the disqus integration. For now, here's my _config.yml config :

title: On parle de code :)
email: email@mail.com
description: Javascript & Clean Code :O
baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: skahrn
github_username:  skahrz
disqus:
  shortname: skahrz-github
google_analytics: ANALYTICS_ID
# Build settings
markdown: kramdown
theme: minima
gems:
  - jekyll-feed
exclude:
  - Gemfile
  - Gemfile.lock

When I m trying to load disqus on my website, it doesn't load and ask me to follow some troubleshooting guides (what I did) but it doesn't work as expected, without throwing some weird errors :

https://skahrz.github.io/jekyll/update/2017/01/30/welcome-to-jekyll.html

My configuration on disqus are the following :

capture d ecran 2017-01-31 a 07 01 08

But nothing happens... Am I missing something in my config file ?

@ashmaroli

This comment has been minimized.

Copy link
Member

ashmaroli commented Jan 31, 2017

Your Jekyll configurations look correct to me.

But your Disqus configuration seems incorrect: The troubleshooting guide says you've to set the domain as skahrz.github.io instead of https://skahrz.github.io.
Note: Changing it will require you to wait about 48hours for it to take effect.

@joesasson

This comment has been minimized.

Copy link

joesasson commented Feb 10, 2017

I'm gonna add to this answer because I just encountered the same problem. You need to set the url property in the config.yml that you posted above to your blog url:

url: "https://skahrz.github.io" should do the trick.

@NicolasWebDev

This comment has been minimized.

Copy link

NicolasWebDev commented Mar 28, 2017

I can confirm that setting the url resolves the problem.

@mfrachet

This comment has been minimized.

Copy link

mfrachet commented Mar 30, 2017

Wow, I m really late, sorry about that. And yes , adding the url solved my problem :)

@mfrachet mfrachet closed this Mar 30, 2017

Tofull added a commit to Tofull/Tofull.github.io that referenced this issue Oct 21, 2017

chibby0ne added a commit to chibby0ne/chibby0ne.github.io that referenced this issue Apr 11, 2018

config.yml: add url to fix disqus not loading issue
Fix seen here: jekyll/minima#104

Signed-off-by: Antonio Gutierrez <chibby0ne@gmail.com>

jonchoi added a commit to jonchoi/minima that referenced this issue Oct 4, 2018

Update README regarding Disqus URL
It was difficult to get Disqus going without reading through the issues.

jekyll#104

jonchoi added a commit to jonchoi/minima that referenced this issue Oct 4, 2018

README update re Disqus
Need to add full url to config for disqus to work.
Was hard to get it working without reading the issue.
jekyll#104
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment