add title to templates