-
|
What's the recommended way of disable TOC and breadcrumb for the entire website? Couldn't find it in the docs. They are nice for documentation, but not for a blog. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
There is a // hugo.yaml
cascade:
- _target:
kind: page
params:
toc: falseFor example, the config above setting the |
Beta Was this translation helpful? Give feedback.
-
|
To remove breadcrumb module, you'll need to replace the meta module, see https://hbstack.dev/blog/2023/10/replace-meta-modules/ for details. |
Beta Was this translation helpful? Give feedback.
There is a
tocpage parameter, set it asfalseto disable the ToC, configure it with cascade would simplify this setup.For example, the config above setting the
tocparameter asfalsefor all detailed pages, tweak it to suit your needs.