add titles to page templates