Skip to content

No way to disable disqus on given pages (disqus: false is not taking effect) #10

@m0un10

Description

@m0un10

As per the README.md it indicates that disqus can be disabled for a given page with this:

---
disqus: false
---

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 running gitbook serve after the change is saved to one or two .md files, it still has the comment on every single page including the pages with disqus: false.

The structure of my .md is like this:

---
disqus: false
---

# {{ page.title }}
 
Content is here 

My Gitbook version is:

CLI version: 2.3.0
GitBook version: 3.2.2

My installed plugins are:

├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└─┬ [email protected]
  ├─┬ [email protected]
  │ ├─┬ [email protected]
  │ │ ├── [email protected]
  │ │ ├─┬ [email protected]
  │ │ │ ├── [email protected]
  │ │ │ ├── [email protected]
  │ │ │ ├── [email protected]
  │ │ │ ├── [email protected]
  │ │ │ ├── [email protected]
  │ │ │ └── [email protected]
  │ │ └── [email protected]
  │ ├─┬ [email protected]
  │ │ ├─┬ [email protected]
  │ │ │ └── [email protected]
  │ │ ├── [email protected]
  │ │ └─┬ [email protected]
  │ │   ├─┬ [email protected]
  │ │   │ └── [email protected]
  │ │   └── [email protected]
  │ ├─┬ [email protected]
  │ │ └─┬ [email protected]
  │ │   └── [email protected]
  │ ├─┬ [email protected]
  │ │ ├─┬ [email protected]
  │ │ │ └─┬ [email protected]
  │ │ │   ├── [email protected]
  │ │ │   └── [email protected]
  │ │ └─┬ [email protected]
  │ │   └─┬ [email protected]
  │ │     └── [email protected]
  │ ├── [email protected]
  │ ├── [email protected]
  │ ├─┬ [email protected]
  │ │ ├── [email protected]
  │ │ └── [email protected]
  │ ├─┬ [email protected]
  │ │ └── [email protected]
  │ ├─┬ [email protected]
  │ │ ├─┬ [email protected]
  │ │ │ ├── [email protected]
  │ │ │ └── [email protected]
  │ │ └── [email protected]
  │ ├── [email protected]
  │ └── [email protected]
  └─┬ [email protected]
    └── [email protected]

My book.json is

{
    "gitbook": "3.2.2",
    "plugins": [
        "hints",
        "simple-page-toc",
        "custom-favicon",
        "disqus"
    ],
    "pluginsConfig": {
        "theme-default": {
            "showLevel": false
        }, 
        "simple-page-toc": {
            "maxDepth": 7,
            "skipFirstH1": true
        },
        "favicon": "assets/favicon.ico",
        "disqus": {
            "shortName": "myst-studio-documentation"
        }
    }
}

Please help! 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions