Adds 404/Error page to templates.