I'm a C# back end developer trying to learn web dev with haskell and Yesod, so please bear with me.
My question is, what is the convention regarding creating your own default layout. Should you create it dynamically, in code, or change the markup?
As I understand it, it's meant for consistency throughout your web app, at least for the parts that use the default layout. So it would typically be something static that stays the same in runtime for every part that uses it, until you wish to change it once, and have it impact every part that uses it. No need to generate the default layout with every page that loads.
Many thanks.