Code Monkey home page Code Monkey logo

Comments (7)

HenryQW avatar HenryQW commented on July 23, 2024

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

from jekyll-text-theme.

maddovr avatar maddovr commented on July 23, 2024

My _config.yml

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

from jekyll-text-theme.

maddovr avatar maddovr commented on July 23, 2024

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)

from jekyll-text-theme.

HenryQW avatar HenryQW commented on July 23, 2024

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.

from jekyll-text-theme.

maddovr avatar maddovr commented on July 23, 2024

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.

from jekyll-text-theme.

maddovr avatar maddovr commented on July 23, 2024

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

from jekyll-text-theme.

kitian616 avatar kitian616 commented on July 23, 2024

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

from jekyll-text-theme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.