I have a two versions of my application layout, which are differs only in a few lines. Consider following example:
!!! %html %head # a lot of cod
A controller instance variable? That's the normal way to get information to the template.