Do pages inherit parameters from their .Section?

I don’t understand how or if parameters in sections’ frontpage are inherited to resource pages downward. If in docs/section1/section2/ section1 has for instance NoHierarchy: true, do all descendant pages inherit it ? Can I access .Params.NoHierarchy from all those pages ?
If not, how do I ask “if any of your ancestor has .NoHierarchy” ?
Also, is there a simple way to request the first parent in the line of ancestor, that is also a page ? My sections usually aren’t, unless they are.

No by default they don’t inherit anything. You must use Cascade Front Matter to achieve this.

1 Like

thanks, that was straightforward. Actually I see I could have deduced it myself :roll_eyes: silly me

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.