question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enable Disqus only in one page

See original GitHub issue

I checked that…

  • … the documentation does not mention anything about my problem
  • … the problem doesn’t occur with the default MkDocs template
  • … the problem is not in any of my customizations (CSS, JS, template)
  • … there are no open or closed issues that are related to my problem

Description

At lsp-mode, we’d like to have a blog section and enable Disqus comments on those blog pages(ex: https://emacs-lsp.github.io/lsp-mode/blog/2020/7.0-release/). On the documentation, I saw that if we enable the disqus extra, all pages will have Disqus comments, but we would like to have only for blog pages, so I didn’t enable this extra and added the disqus meta only on the page I would like to see Disqus. We have the meta extension enabled here and the disqus meta here.

Expected behavior

I expect to see the Disqus section comments here: https://emacs-lsp.github.io/lsp-mode/blog/2020/7.0-release/

Actual behavior

It only shows a “Comments” subtitle on the page: image

Package versions

we are using the latest mkdocs-material docker image here

Project configuration

https://github.com/emacs-lsp/lsp-mode/blob/master/mkdocs.yml

System information

  • OS: NixOS 20.03
  • Browser: Google Chrome 84.0.4147.89

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ericdallocommented, Jul 26, 2020

@squidfunk, I forgot to setup Disqus for that site, thank you very much for your help, it works now 😄

0reactions
ericdallocommented, Jul 26, 2020

Thanks @squidfunk! I was able to reproduce the print above using disqus: emacs_lsp:

image

What is missing now to make Disqus work on this page?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Several disqus-threads on one page - Stack Overflow
So we wanted to use disqus, and checked it out. Turns out they use global variables to configure the instance. like; var disqus_shortname...
Read more >
Universal Embed Code - Disqus
Disqus can be installed on virtually any website using the universal JavaScript embed code. The following documentation is meant for developers only.
Read more >
How to insert more Disqus comments box in a single page
On this page, we insert the html and javascript provided by Disqus and we set the variable disqus_shortname. ... NOTE: resizing iframe “container” ......
Read more >
Add Disqus and Disqus Comments
While the ability to enable Disqus comments can only be toggled on in a Blog content block, it is still possible to add...
Read more >
Adding Disqus comments to your site
Step 1 - Get your Disqus shortname · Scroll down and click Get Started. · Select I want to install Disqus on my...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found