hugo-theme-stack icon indicating copy to clipboard operation
hugo-theme-stack copied to clipboard

Disqus comments threads not being displayed

Open arthur1041 opened this issue 1 year ago • 1 comments

What happened?

Bug report

Disqus comments thread is not being displayed even after being correctly configured within the config.yaml file. image

Potential solution

I managed to fix it by copying the content from within themes/theme-stack/layouts/partials/comments/provider/disqusjs.html and pasting it inside themes/theme-stack/layouts/partials/comments/provider/disqus.html. Now it works fine: image

Hugo version

v0.130.0+extended

Theme version

3.26.0

What browsers are you seeing the problem on?

Chrome

More information about the browser

No response

Relevant log output

No response

Link to Minimal Reproducible Example

https://github.com/CaiJimmy/hugo-theme-stack/blob/master/layouts/partials/comments/provider/disqus.html ->(my published website doesn't have the error anymore since I fixed it locally)

arthur1041 avatar Aug 03 '24 04:08 arthur1041

Hey, @CaiJimmy. Can you review this PR, please?

arthur1041 avatar Aug 19 '24 02:08 arthur1041

Hi Arthur, thanks for the issue report and the pull request. However, I cannot reproduce this issue locally or online. The demo site is built with the latest version of Hugo (0.134.1) and the Disqus comment works fine.

I cannot accept your pull request because it replaces Disqus with Disqus.js, which is a third-party solution that is completely different and requires more setup.

I would guess that your Disqus comment is not showing due to a wrong configuration (e.g. wrong Disqus site name).

Feel free to reopen this issue if you are able to reproduce this problem online.

CaiJimmy avatar Sep 07 '24 11:09 CaiJimmy

@arthur1041 You should put the pagenation part at the bottom of the config.toml file. like this

MuenYu avatar Sep 08 '24 23:09 MuenYu