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
What about this http://snippets.dzone.com/posts/show/236 in order to conditionally select layouts?