reformatted pages to extend base template