-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No way to disable disqus on given pages (disqus: false is not taking effect) #10
Comments
Same issue here. Any updates? |
I'm also having problems. It looks like you're installing gitbook-plugin-disqus version 0.1.0. Latest released version is 1.0.1, but if I try enabling it with Whereas trying 1.0.1 cannot be satisfied because in 1.0.x, the engine required is:
and default gitbook at the time is So If you wanted to customise anything, you'd need to look at the source code of version 0.1.0, which is here: https://github.com/GitbookIO/plugin-disqus/blob/0.1.0/book/plugin.js and README here. You'll notice there's nothing to enable/disable Disqus here, sadly enough. The reason why I'm looking at this is so that I could only have Disqus enabled on one or two pages, rather than everywhere, for consolidation. Looks not possible to do right now, and even if I contribute a change it won't be visible until GitBook 4 is released. @SamyPesse could advise? |
This is my reference GitbookIO#10 (comment) Please add this info also here https://github.com/GitbookIO/plugin-disqus/blob/0.1.0/README.md
is there any updates in regard of this issue? I still experience the same |
1 similar comment
is there any updates in regard of this issue? I still experience the same |
I ended up by adding custom js script to forcefully hide the comment sections |
Just add |
As per the
README.md
it indicates that disqus can be disabled for a given page with this:I've tried that and it doesn't seem to have any effect when I run
gitbook serve
. Even after doing a stop and only runninggitbook serve
after the change is saved to one or two.md
files, it still has the comment on every single page including the pages withdisqus: false
.The structure of my
.md
is like this:My Gitbook version is:
My installed plugins are:
My
book.json
isPlease help! 😄
The text was updated successfully, but these errors were encountered: