add template data for title and footer