Skip to content

Disable TOC and breadcrumb #230

Answered by razonyang
LITUATUI asked this question in Q&A
Discussion options

You must be logged in to vote

There is a toc page parameter, set it as false to disable the ToC, configure it with cascade would simplify this setup.

// hugo.yaml
cascade:
- _target:
    kind: page
  params:
    toc: false

For example, the config above setting the toc parameter as false for all detailed pages, tweak it to suit your needs.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by LITUATUI
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants