make @RenderSection and @RenderBody process according to Layout
@RenderBody is running first, and then the @RenderSection in order they occur in (Body or Layout?) even when @RenderSection is done before the @RenderBody in the Layout file.
This behavior is unintuitive and causes unintended bugs as PageData["variable"] values get modified between Body and Sections.
Now that I have figured out some of the mystery here, I can avoid the unintended bugs, but I would like this fixed to make the code more intuitive.
Cameron Usman commented