more refinement of layout.jade