jade layouts refactoring