Disable TOC on the homepage #9116
-
Is it possible to disable the TOC on the homepage while keeping the navigation bar? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
If you are using If you are using This settings hide both |
Beta Was this translation helpful? Give feedback.
-
Thank you, it works perfectly. I added this code in docfx.json file "fileMetadata": {
"_layout": {
"index.md": "landing"
}
} |
Beta Was this translation helpful? Give feedback.
If you are using
default
template.Set
_disableToc
metadata to homepage.If you are using
modern
template.Try to set
_layout: landing
metadata to homepage.This settings hide both
toc
andaffix
area.If you need to hide
toc
area only. You needs to create custom template.