Skip to content
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

Disqus doesn't load #38

Closed
maddovr opened this issue Mar 1, 2018 · 7 comments
Closed

Disqus doesn't load #38

maddovr opened this issue Mar 1, 2018 · 7 comments
Labels
Type: Discussion Type: An issue that discuss about thinkings or problems

Comments

@maddovr
Copy link
Contributor

maddovr commented Mar 1, 2018

I correctly uncommented and put my disqus shortname in _config.yml, also migrated old comments to the new url, however disqus doesn't even seem to load for me. There is nothing written in the english documentation and I can't seem to troubleshoot the problem away(even went to the comment-disqus.html but I can't understand what page.key refers to. Suggestions?

@HenryQW
Copy link
Contributor

HenryQW commented Mar 1, 2018

In _config.yml:

disqus:
  shortname: your_shortname

page.key refers to the unique identifier you assign to the page, in your front matter of each Disqus-enabled page. Otherwise Disqus couldn't have known the linkage.

Eg:

---
layout: post
title: ciao
key: espresso
---

And I suppose you have to add url for the page as a variable as well.

See here

@maddovr
Copy link
Contributor Author

maddovr commented Mar 1, 2018

My _config.yml

## Comment system (Disqus) ##
disqus:
  shortname: kualiti #the Disqus shortname for the site

@maddovr
Copy link
Contributor Author

maddovr commented Mar 1, 2018

My post front matter:

---
layout: post
title: Dite no a CCCP
date: 02-09-2017 08:40:13
tags:
  - Fansub
  - Codecs
  - mpv
  - libass
  - vsfilter
categories: Rants
comment: true
url: https://www.kualiti.net/rants/2017/09/02/dite-no-a-cccp
key: nocccp
---

It still won't load disqus at all(let alone comments)

@HenryQW
Copy link
Contributor

HenryQW commented Mar 1, 2018

Maybe a hail mary but can you try removing comment: true ? My site doesn't use disqus (gitalk instead) and I didn't put comment: true there, it works.

@maddovr
Copy link
Contributor Author

maddovr commented Mar 1, 2018

It doesn't work, as expected. One thing I've not said is that I migrated my blog from hexo to jekyll and this two posts I have on my blog were written using hexo(and there were comments which I migrated using disqus tool). However I find it strange that it doesn't even load the widget at all, let alone the comments. I will try creating a new post and see if it loads there.

@maddovr
Copy link
Contributor Author

maddovr commented Mar 1, 2018

It works now, had to set JEKYLL_ENV to production manually(it defaults to development). Thanks a lot!

@maddovr maddovr closed this as completed Mar 1, 2018
@kitian616
Copy link
Owner

Oh yes, I didn't update the document..

@kitian616 kitian616 added the Type: Discussion Type: An issue that discuss about thinkings or problems label Aug 11, 2018
ushasigh added a commit to dineshb-ucsd/wcsng-new.github.io that referenced this issue Jun 22, 2024
Rename 2019-06-12-SparSDR.md to 2019-06-12-sparsdr.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Discussion Type: An issue that discuss about thinkings or problems
Projects
None yet
Development

No branches or pull requests

3 participants