Refactored application views using jade\'s template inheritance