Refactored _head into _header and set title and body class by setting page variables.