jekyll-TeXt-theme icon indicating copy to clipboard operation
jekyll-TeXt-theme copied to clipboard

Disqus won't load unless with "key” in Front Matter

Open C-Harlin opened this issue 5 years ago • 4 comments

I found that disqus won't load without "key" stated in front matter.

---
key: anything
---

that is where I got stuck for sever hours. Once "key" was stated, then disqus loaded.

Could someone tell me the reason and where the "key" refer to? Thx!

C-Harlin avatar Feb 13 '20 15:02 C-Harlin

I'm observing the same and not mentioned anywhere in the documentation about this.

venura9 avatar Jul 02 '20 02:07 venura9

@C-Harlin key is apparently the unique identifier. You can use something unique like a timestamp for that.

E.g. https://github.com/kitian616/jekyll-TeXt-theme/blob/master/docs/_posts/2015-01-03-article-with-lots-images.md Note how the key has been used there.

Still, it shouldn't affect the comments being showed.

venura9 avatar Jul 03 '20 05:07 venura9

@C-Harlin key is apparently the unique identifier. You can use something unique like a timestamp for that.

E.g. https://github.com/kitian616/jekyll-TeXt-theme/blob/master/docs/_posts/2015-01-03-article-with-lots-images.md Note how the key has been used there.

Still, it shouldn't affect the comments being showed.

oh, so the key is just like keyword, that is weird how it affect the comment.

C-Harlin avatar Jul 03 '20 15:07 C-Harlin

3 years later, I solved my problem according to the issue you opened, while it is still open

chunribu avatar Dec 01 '23 08:12 chunribu