created a layout for templates to extend from