Fixing the template for the chapter pages.