Separated header template file into header and title page template.