add title tag to templates