Skip to content
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

Have an option to hide the sidebar for specific pages #367

Closed
shuding opened this issue Feb 18, 2022 · 2 comments
Closed

Have an option to hide the sidebar for specific pages #367

shuding opened this issue Feb 18, 2022 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@shuding
Copy link
Owner

shuding commented Feb 18, 2022

image

Ideally we can support a wider range of meta info for each page. And if it's a folder, it will be inherited by all the pages inside.

{
  "page": {
    "title": "Page",
    "hidden": boolean,
    "sidebar": boolean,
    "navbar": boolean,
    "footer": boolean,
    "toc": boolean,
  },
  "folder": {
    "title": "folder",
    "hidden": boolean,
    "sidebar": boolean,
    "navbar": boolean,
    "footer": boolean,
    "toc": boolean,
  }
}
@shuding shuding added the enhancement New feature or request label Feb 18, 2022
@shuding shuding added this to the 2.0 milestone Mar 5, 2022
@shuding
Copy link
Owner Author

shuding commented Mar 5, 2022

Supported via the "theme" option.

@shuding shuding closed this as completed Mar 5, 2022
@saewitz
Copy link

saewitz commented Dec 5, 2023

Can put this in _meta.json:

{
  "index": {
    "title": "example",
    "theme": {
      "toc": false
    }
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants