Add all basic php if,else,... statements to Scout compiler.
View API handles layouts and sections.