Added a layout.html and modified templates to extend from it.