In my master view (_Layout.cshtml) I have a tree-menu.
I want to remove that tree-menu in the main page (home).
The rest of the layout should stay there, I want the body of the home to occupy the space of the tree-menu.
Any efficient in-the-box option?
One approach could be to create a custom view page with a flag for showing/excluding the tree menu.
Inherit the custom class from within the layout file:
Then (In the layout file) only display the tree menu if:
And set the flag from the content page when the menu should be excluded: