adjust diagrams page template