Enable Disqus only in one page
See original GitHub issueI 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:
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:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
@squidfunk, I forgot to setup Disqus for that site, thank you very much for your help, it works now 😄
Thanks @squidfunk! I was able to reproduce the print above using
disqus: emacs_lsp
:What is missing now to make Disqus work on this page?