Add title var for template