Control Structures
As in other languages, control structures are statements that dynamically determine the flow of rendering based on the evaluation of content and variables. Automad knows four different control structures: for, foreach, if and with. In contrast to function calls, control structures always wrap a block of code and can therefore also be nested.