added titles to pages in templates