Clone this wiki locally
By default, the Layout at /App/Layouts/Default.hs is used.
Example layout here. The Layout provides the wrapper for the View, but is basically just a View with some extra functions. In particular, the Layout tells the system where to place the View by adding a call to insertDefaultView:
<% insertDefaultView %>
The Controller can dictate that no Layout be used for the View by clearLayout (see /Turbinado/Environment/Settings.hs).
The Controller can dictate that a particular Layout be used for the View by setLayout “OtherLayout”.